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 do you do dynamic memory allocation in C applications?

0 Answers  


Does c have function or method?

0 Answers  


Study the Following Points: a.One Cannot Take the address of a Bit Field b.bit fields cannot be arrayed c.Bit-Fields are machine Dependant d.Bit-fields cannot be declared as static 1. Which of the Following Statements are true w.r.t Bit- Fields A)a,b&c B)Only a & b C)Only c D)All

3 Answers   Accenture,


What are near, far and huge pointers?

0 Answers   Hexaware, Thomson Reuters, Virtusa,


What is build process in c?

0 Answers  






What is the purpose of 'register' keyword in c language?

0 Answers  


Can we change the value of constant variable in c?

0 Answers  


What is far pointer in c?

0 Answers  


void main() {int i=2; printf("%d%d%d",i,++i,i++); getch(); }

9 Answers  


how to set Nth bit of variable by using MACRO

3 Answers   HCL,


Explain built-in function?

0 Answers  


Can we initialize extern variable in c?

0 Answers  


Categories