How to print %d in output

Answers were Sorted based on User's Feedback



How to print %d in output..

Answer / ramu gurram

printf("%%d");

Is This Answer Correct ?    38 Yes 5 No

How to print %d in output..

Answer / nitin garg

printf("%%d");

Is This Answer Correct ?    0 Yes 0 No

How to print %d in output..

Answer / murugesan kr

printf("\%d");

Is This Answer Correct ?    1 Yes 7 No

How to print %d in output..

Answer / chirag garg

printf("% \bd");

Is This Answer Correct ?    2 Yes 12 No

How to print %d in output..

Answer / yogesh rasal

printf("/%d")

Is This Answer Correct ?    1 Yes 16 No

How to print %d in output..

Answer / reddy

printf("%d");

Is This Answer Correct ?    11 Yes 30 No

Post New Answer

More C Interview Questions

which will return integer? a) int*s ( ) b) ( int* ) s( ) c) int ( *s ) ( )

1 Answers   C DAC,


Here is a neat trick for checking whether two strings are equal

1 Answers  


write a program for the normal snake games find in most of the mobiles.

1 Answers   Accenture, Wipro,


What is a list in c?

1 Answers  


What is ctrl c called?

1 Answers  


You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.

1 Answers  


What is the difference between calloc() and realloc()?

1 Answers  


write a program to display the numbers in the following format 4 4 3 3 3 3 2 2 2 2 2 2 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 2 2 2 2 2 3 3 3 4

9 Answers   IBM, NIIT, Winit,


int main() { int days; printf("enter days you are late"); scanf("%d",days); if (days<=5) printf("5o paisa fine"); if (days<=10&&days>=6) printf("1rs fine"); if(days>10) printf("10 rs fine"); if(days=30) printf("membership cancelled"); return 0; } tell me whats wrong in this program? is it right?

2 Answers  


Write a program of prime number using recursion.

1 Answers   Aspiring Minds,


What are the advantages of the functions?

1 Answers  


What is Generic pointer? What is the purpose of Generic pointer? Where it is used?

3 Answers  


Categories