#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} what would be the output?
1 4551Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
2 6307int main() { int i=-1,j=-1;k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d%d%d%d%d",i,j,k,l,m); }
HCL,
3 7550Heyyy All, Just a challenge . A C program with if Else if(){ /// insert sumthing print ("in if") // insert sumting } else { ///// insert sumthing print ("in else"); //// insert sumthing } can anyone modify it so that program prints. if and else both
3 3484#include
output for following code??? main() { int x=2,y,z; x*=3+2; printf("1.%d\n",x); x*=y=z=4; printf("2.%d %d %d\n",x,y,z); x=y==z; printf("3.%d\n",x); x==(y=z); printf("%d",x); }
2 3339Write a c program for sum of first n terms of the series S = 1 - (1/3) + (1/5) -(1/7) + (1/9) ......
2 4577#define FALSE -1 #define TRUE 1 #define NULL 0 main() { if(NULL) puts("NULL"); else if(FALSE) puts("TRUE"); else puts("FALSE"); }
1 8038
How can I do serial ("comm") port I/O?
I have seen function declarations that look like this
Can a pointer point to null?
Why do we need volatile in c?
The statement, int(*x[]) () what does in indicate?
What is data structure in c language?
Are the variables argc and argv are local to main?
Which is the best website to learn c programming?
What is difference between structure and union?
Was 2000 a leap year?
What is const and volatile in c?
can any one tel me wt is the question pattern for NIC exam
How can you determine the size of an allocated portion of memory?
What is a nested formula?
What is class and object in c?