If fflush wont work, what can I use to flush input?
No Answer is Posted For this Question
Be the First to Post Answer
What is array of pointers to string?
Create a simple code fragment that will swap the values of two variables num1 and num2.
Explain how can type-insensitive macros be created?
typedef struct { int i:8; char c:9; float f:20; }st_temp; int getdata(st_temp *stptr) { stptr->i = 99; return stptr->i; } main() { st_temp local; int i; local.c = 'v'; local.i = 9; local.f = 23.65; printf(" %d %c %f",local.i,local.c,local.f); i = getdata(&local); printf("\n %d",i); getch(); } why there there is an error during compiling the above program?
How can we allocate array or structure bigger than 64kb?
What does %d do in c?
main() { char *p; p="Hello"; printf("%c\n",*&*p); }
how to compare two strings without using strcmp() function??
what is the purpose of the following code, and is there any problem with the code? void fn(long* p1, long* p2) { register int x = *p1; register int y = *p2; x ^= y; y ^= x; x ^= y; *p1 = x; *p2 = y; }
what is the format specifier for printing a pointer value?
What oops means?
what will be the output of this program? #include<stdio.h> #define cube(x) x*x*x void main() { int i,j=5; i=cube(j+3); printf("i=%d",i); }