write a program to print %d ?

Answers were Sorted based on User's Feedback



write a program to print %d ? ..

Answer / sumankumar

printf("%%d");

Is This Answer Correct ?    11 Yes 3 No

write a program to print %d ? ..

Answer / chinna

#include<stdio.h>
#include<conio.h>
void main()
{
printf("%d");
}

Is This Answer Correct ?    15 Yes 10 No

write a program to print %d ? ..

Answer / satish

#include<stdio.h>
main(){
printf("%cd",37);// ASCII value of % = 37
}

Is This Answer Correct ?    14 Yes 9 No

write a program to print %d ? ..

Answer / agalya

#include<stdio.h>
#include<conio.h>
void main()
{
printf("\%d");
}

Is This Answer Correct ?    13 Yes 10 No

write a program to print %d ? ..

Answer / manikanta

#include "stdio.h"

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

Is This Answer Correct ?    4 Yes 1 No

write a program to print %d ? ..

Answer / hemanthkumar

prinf("%""d");

Is This Answer Correct ?    0 Yes 0 No

write a program to print %d ? ..

Answer / hareram ray

#include<stdio.h>
int main(int argc,char *argv)
{
clrscr();
printf("%d");
return 0;
}

Is This Answer Correct ?    0 Yes 0 No

write a program to print %d ? ..

Answer / murali

#include<stdio.h>
#include<conio.h>
void main()
{
printf("%");
printf("d");
}

Is This Answer Correct ?    9 Yes 10 No

write a program to print %d ? ..

Answer / rashmi

# include <stdio.h>
main()
{
printf("%d");
}

Is This Answer Correct ?    0 Yes 3 No

write a program to print %d ? ..

Answer / rashmi

#include<stdio.h>
main()
{
printf("\%d");
}

Is This Answer Correct ?    5 Yes 9 No

Post New Answer

More C Interview Questions

How does #define work?

0 Answers  


what is the difference between structure and union?

3 Answers  


If an old women's age is the same as her three grand daughters i,mean the number of days old child=the no of weeks old child=no of months old child .The total yrs of all these ppl is 114 yrs...then how old is the old woman? the yr has 365 days..and 30 days each month.

1 Answers   TCS,


What is size of union in c?

0 Answers  


Explain what is the difference between far and near ?

0 Answers  


How do you convert strings to numbers in C?

0 Answers  


How does normalization of huge pointer works?

0 Answers  


Why #include is used in c language?

0 Answers  


define string ?

0 Answers  


write a program in c to print **** * * * * ****

1 Answers   TCS,


How can you increase the allowable number of simultaneously open files?

0 Answers  


Stimulate calculator using Switch-case-default statement for two numbers

0 Answers   Wipro,


Categories