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


Please Help Members By Posting Answers For Below Questions

can we implement multi-threads in c.

672


What is the difference between union and structure in c?

581


When should a type cast be used?

577


main() { printf("hello"); fork(); }

699


Explain what are reserved words?

636






What does dm mean sexually?

817


Combinations of fibanocci prime series

1116


Do array subscripts always start with zero?

788


write a c program to calculate sum of digits till it reduces to a single digit using recursion

2724


What are qualifiers?

618


Explain low-order bytes.

625


What is %g in c?

624


Explain how do you print only part of a string?

652


Can a function argument have default value?

676


Tell us two differences between new () and malloc ()?

617