#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 5383Write 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 7495int 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 8729Heyyy 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 4800#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 4320Write a c program for sum of first n terms of the series S = 1 - (1/3) + (1/5) -(1/7) + (1/9) ......
2 5839#define FALSE -1 #define TRUE 1 #define NULL 0 main() { if(NULL) puts("NULL"); else if(FALSE) puts("TRUE"); else puts("FALSE"); }
1 9097
‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .
What is mean by data types in c?
which is conditional construct a) if statement b) switch statement c) while/for d) goto
Find MAXIMUM of three distinct integers using a single C statement
How can I remove the trailing spaces from a string?
Explain how do you list a file’s date and time?
What is double pointer?
Create a simple code fragment that will swap the values of two variables num1 and num2.
What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?
Explain that why C is procedural?
Is boolean a datatype in c?
What is the 'named constructor idiom'?
What are the advantages and disadvantages of a heap?
Does c have circular shift operators?
How many levels of indirection in pointers can you have in a single declaration?