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 the difference between c and python?
Write a program to print fibonacci series using recursion?
Distinguish between actual and formal arguments.
When is a null pointer used?
What does p mean in physics?
Explain high-order bytes.
Did c have any year 2000 problems?
What is #line used for?
List the different types of c tokens?
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
What is || operator and how does it function in a program?
What should malloc(0) do?
Is c call by value?
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
If the size of int data type is two bytes, what is the range of signed int data type?