write a program that will print %d in the output screen??

Answer Posted / vignesh1988i

void main()
{
printf("%%d");
getch();
}

where %% will print % and d will be printed asual

thank u

Is This Answer Correct ?    39 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the maximum no. of arguments that can be given in a command line in C.?

655


Explain what is the difference between a free-standing and a hosted environment?

623


What is getch () for?

664


What is a good data structure to use for storing lines of text?

580


What are the advantages of external class?

582






Why doesnt the call scanf work?

650


What is a const pointer in c?

656


Write a program of prime number using recursion.

602


Write a program to check whether a number is prime or not using c?

563


Ow can I insert or delete a line (or record) in the middle of a file?

560


Why can’t constant values be used to define an array’s initial size?

820


What is the use of bit field?

622


What is the explanation for modular programming?

669


i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical

1823


write a c program to print the next of a particular no without using the arithmetic operator or looping statements?

3163