write a program that will print %d in the output screen??
Answer Posted / furquan
int main()
{
printf("%%d");
return 0;
}
| Is This Answer Correct ? | 96 Yes | 7 No |
Post New Answer View All Answers
What is 2c dna?
write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
Do pointers need to be initialized?
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
How can I rethow can I return a sequence of random numbers which dont repeat at all?
a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f
In C programming, what command or code can be used to determine if a number of odd or even?
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
Why do we need arrays in c?
What is modifier & how many types of modifiers available in c?
Why use int main instead of void main?
explain what is an endless loop?
What are the different types of control structures in programming?
What is the use of a conditional inclusion statement in C?