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

Write a program to print fibonacci series using recursion?

1 Answers  


Once I have used freopen, how can I get the original stdout (or stdin) back?

1 Answers  


What is the stack in c?

1 Answers  


What is the scope of static variable in c?

1 Answers  


What does the c in ctime mean?

1 Answers  


In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none

1 Answers  


main() { int i = -3,j=2,k=0,m; m= ++i || ++j && ++k; printf("%d%d%d",i,j,k,m); }

7 Answers   HCL,


Switch (i) i=1; case 1 i++; case 2 ++i; break; case 3 --i; Output of i after executing the program

5 Answers   Mascot,


the format specified for hexa decimal is a.%d b.%o c.%x d.%u

7 Answers   TCS,


What are qualifiers and modifiers c?

1 Answers  


When should a type cast be used?

1 Answers  


Write a code to reverse string seperated by spaces i/p str=India is my country o/p str=aidnI si ym yrtnuoc After writing code, optimize the code

1 Answers  


Categories