print out of string in this format;
1. "rajesh"
2. \n
3. %d
Answer Posted / sanjay bhosale
No need of extra variable :
You can simply write...
printf("\n1.\t\"Rajesh\"");
printf("\n2.\t\\n");
printf("\n3.\t%%d");
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the advantage of c language?
What is the difference between a function and a method in c?
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
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
Explain is it better to bitshift a value than to multiply by 2?
Explain about C function prototype?
How can you determine the maximum value that a numeric variable can hold?
Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.
Is c# a good language?
What is the difference between printf and scanf )?
What is equivalent to ++i+++j?
How important is structure in life?
What are the advantages of Macro over function?
What is struct node in c?
What is static function in c?