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 32 keywords in c?
Write a progarm to find the length of string using switch case?
What is a ternary operator in c?
Explain logical errors? Compare with syntax errors.
Is a house a shell structure?
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
What are the data types present in c?
What does the file stdio.h contain?
What is the difference between array_name and &array_name?
Who developed c language and when?
Are c and c++ the same?
How can you invoke another program from within a C program?
What is static function in c?
Explain how do you list files in a directory?
What is string concatenation in c?