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

Answer Posted / mahendra vishwakarma

#include<stdio.h>
void main()
{
printf("%%d"); //this will print as %d output.
}

Is This Answer Correct ?    21 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why c is known as a mother language?

834


#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }

942


Should I learn c before c++?

953


If you know then define #pragma?

858


what value is returned to operating system after program execution?

1808


What's the best way of making my program efficient?

822


What is c standard library?

889


When a c file is executed there are many files that are automatically opened what are they files?

805


What is queue in c?

744


Does c have function or method?

790


how to print the character with maximum occurence and print that number of occurence too in a string given ?

2228


what are enumerations in C

917


a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.

4790


In a switch statement, what will happen if a break statement is omitted?

808


Can variables be declared anywhere in c?

821