Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

Answers were Sorted based on User's Feedback



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

Answer / furquan

int main()
{
printf("%%d");
return 0;
}

Is This Answer Correct ?    73 Yes 4 No

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

Answer / arti

main()
{ char ch[]="%d";
printf("%s",ch);
}

Is This Answer Correct ?    45 Yes 11 No

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

Answer / vignesh1988i

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

where %% will print % and d will be printed asual

thank u

Is This Answer Correct ?    35 Yes 1 No

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

Answer / mahendra vishwakarma

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

Is This Answer Correct ?    20 Yes 0 No

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

Answer / j j ramesh

# include <stdio.h>

void main()
{
puts("%d");
}

Is This Answer Correct ?    9 Yes 5 No

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

Answer / mizanur

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

return 0;
}

Is This Answer Correct ?    4 Yes 0 No

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

Answer / ratish

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

Is This Answer Correct ?    1 Yes 22 No

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

Answer / sachin tyagi

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

Is This Answer Correct ?    2 Yes 55 No

Post New Answer



More C Interview Questions

In which mode we open the file for read,write and append also in c ? a)W b)w+ c)r+ d)a

2 Answers   BitWise,


Write a c program using for loop to print typical pattern if number of rows is entered by keyboard. ABCBA AB BA A A

1 Answers  


what will be the output of this program? #include<stdio.h> #define cube(x) x*x*x void main() { int i,j=5; i=cube(j+3); printf("i=%d",i); }

6 Answers   IBM,


write a “Hello World” program in “c” without using a semicolon?

9 Answers   CTS, TCS, Wipro,


Why does the call char scanf work?

0 Answers  






Why do we write return 0 in c?

0 Answers  


What is meant by preprocessor in c?

0 Answers  


Why should I prototype a function?

0 Answers  


You have an array of n integers, randomly ordered with value 1 to n-1.The array is such that there is only one and one value occurred twice. How will you find this number?

1 Answers  


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

0 Answers   Celstream,


What are the string functions? List some string functions available in c.

0 Answers  


Without using main fn and semicolon,print remainder for a given number in C language

2 Answers  






Categories