I just typed in this program, and it is acting strangely. Can you see anything wrong with it?
No Answer is Posted For this Question
Be the First to Post Answer
what is the defrenece between structure and union
Tell me when would you use a pointer to a function?
how to swap four numbers without using fifth variable?
How many levels of pointers have?
How can a process change an environment variable in its caller?
write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare. You will then tabulate this information in another file.
What is c variable?
What's wrong with "char *p = malloc(10);" ?
what is difference between array and structure?
44 Answers College School Exams Tests, CTS, Google, HCL, IBM, Motorola, TCS,
Write any data structure program (stack implementation)
#define swap1(a,b) a=a+b;b=a-b;a=a-b; main() { int x=5,y=10; swap1(x,y); printf("%d %d\n",x,y); swap2(x,y); printf("%d %d\n",x,y); } int swap2(int a,int b) { int temp; temp=a; b=a; a=temp; return; } what are the outputs?
In C, What is the #line used for?