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 is c programming structure?
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
How is actual parameter different from the formal parameter?
What is use of integral promotions in c?
how to introdu5ce my self in serco
What is the difference between printf and scanf in c?
Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.
please give me some tips for the placement in the TCS.
WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER
What is the difference between text and binary i/o?
Where we use clrscr in c?
What is substring in c?
What is data type long in c?
Can you please explain the difference between malloc() and calloc() function?
What 'lex' does?