print out of string in this format;
1. "rajesh"
2. \n
3. %d
Answer Posted / saikiran
#include<stdio.h>
#include<conio.h>
void main()
{
char ch='d';
clrscr();
printf("1.\t""rajesh""\n");
printf("2.\t\\n\n");
printf("3.\t%%%c",ch);
getch();
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
to find the closest pair
What is difference between main and void main?
Is null valid for pointers to functions?
What is the difference between NULL and NUL?
What does do in c?
Describe the difference between = and == symbols in c programming?
Write a program to check whether a number is prime or not using c?
why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above
what is use of malloc and calloc?
What is data structure in c language?
Here is a good puzzle: how do you write a program which produces its own source code as output?
What is the most efficient way to count the number of bits which are set in an integer?
the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b
How do I create a directory? How do I remove a directory (and its contents)?
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above