No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
9 Posted Topics
What is NIC ordering on bootup of Linux machines? what is its significance ? can anyone tell in detail.
Hi everybody. I am new to Network programming, i need some help :) I have 4 "Intel Corporation 82574L Gigabit Network Connection" ethernet adapters on sandy bridge system. I'm using Linux kernel 2.6.35.10. While i'm passing traffic from iperf software on any of ethX port and disconnect ethernet cable of …
Hi everybody. I have a doubt in one of the command which is shown below. 1. I created my own adding and multiplication funtion definitions saved in two separate files named "sum.c" and "mul.c". The function calls are present in "main.c" ofcourse. 2. I got the assembler output files by …
@slygoth your entire code is correct except in line 8.You declared 'str' as character variable in line 8. You need to declare it as an character ARRAY. char str[100];
1. for(int i = (str1size - 1); i>=0; i--) 2. { 3. n = (str1size - 1) - i; 4. str2[n] = str1[i]; // ERROR 5. } In line 4, the address is being copyied instead of value. As, str1 here is a double dereference pointer(**str1), use **pointer notations and …
int c; while ((c = getchar()) != EOF) In the above code, why it is prefereble to use variable 'c' as integer datatype rather than character datatype eventhough we are assigning characters to 'c' ? Can any one explain clearly??
#include<stdio.h> main() { int a=10; printf("%d %d %d\n",a=10,a=20,a=30); } o/p: 10 10 10. Here, the latest value is updated and printed as the expression statements separated by commas in funtions are evaluted from right to left. But, in below program by using global variable or static variable why the updated …
What is the semantics of the line "using namespace std;"?
Hi, can anybody help me with this program output. Program is based on GCC compiler standards [CODE=c]#include<stdio.h> main() { int *ptr=10,j; j=ptr+19; printf("ptr=%d\n",ptr); printf("j=%d\n",j); } [/CODE] [CODE=text]output: ptr=10 j=86[/CODE] when ptr value is 10 in statement "j=ptr+19", why the j value is 86??
The End.
b56r1