print out of string in this format;
1. "rajesh"
2. \n
3. %d

Answer Posted / helen sobia

#include<stdio.h>
void main()
{clrscr();
char ch='d';
pritf("1.\t"rajesh"\n");
printf("2.\t\\n\n");
printf("3.\t%%s",ch);
getch();
}

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are structure types in C?

681


How can I discover how many arguments a function was actually called with?

644


Why is main function so important?

624


What is d scanf?

609


How can I write a function analogous to scanf?

666






Explain what is the most efficient way to store flag values?

705


What is bubble sort in c?

649


Write a program to reverse a given number in c language?

631


List the difference between a 'copy constructor' and a 'assignment operator' in C?

649


What is the difference between ā€˜gā€™ and ā€œgā€ in C?

2696


write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?

1687


What are the advantages and disadvantages of a heap?

716


What is bin sh c?

589


What are the advantages of c language?

674


How do I round numbers?

608