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

what will be the out put. #include<stdio.h> void main() { printf("Output:"); printf(1+"vikashpatel"); }//output: ikashpatel

1 Answers   V2 Solutions,


1.what are local and global variables? 2.what is the scope of static variables? 3.what is the difference between static and global variables? 4.what are volatile variables? 5.what is the use of 'auto' keyword? 6.how do we make a global variable accessible across files? Explain the extern keyword? 7.what is a function prototype? 8.what does keyword 'extern' mean in a function declaration?

2 Answers   nvidia,


how does a general function , that accepts an array as a parameter, "knows" the size of the array ? How should it define it parameters list ?

2 Answers   Patni, TCS,


main() { int i = 10; printf(" %d %d %d \n", ++i, i++, ++i); }

10 Answers   TCS, Vector,


in linking some of os executables are linking name some of them

0 Answers   IBM,


prototype of sine function.

2 Answers   Cadence,


Find occurence of a character in a sting.

3 Answers   TCS,


which of the following statements is incorrect a.typedef struct new{ int n1; char n2; } DATA; b.typedef struct { int n3; char *n4; }ICE; c.typedef union { int n5; float n6; } UDT; d.#typedef union { int n7; float n8; } TUDAT;

5 Answers   Assurgent, TCS,


Is fortran still used in 2018?

0 Answers  


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

2 Answers  


By using C language input a date into it and if it is right?

0 Answers   Aricent,


An entire structure variable can be assigned to another structure variable if __________

3 Answers   Sasken, TCS, Tech Mahindra, Wipro,


Categories