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

What is the difference between new and malloc functions?

0 Answers   InterGraph,


What is floating point exception error? And what are different types of errors occur during compile time and run time? why they occur?

1 Answers  


How can you determine the maximum value that a numeric variable can hold?

0 Answers  


Explain void pointer?

0 Answers  


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

0 Answers  






What is the newline escape sequence?

0 Answers  


what r callback function?

1 Answers  


What is #include stdlib h?

0 Answers  


#include<stdio.h> #include<conio.h> void main() { int m=0111,n=20; printf("%d%d\n",m,n); getch(); }

1 Answers  


What are the different flags in C? And how they are useful? And give example for each in different consequences?

1 Answers  


What is anagram in c?

0 Answers  


write a recursive program in'c'to find whether a given five digit number is a palindrome or not

2 Answers  


Categories