The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

What is the meaning of this decleration? unsigned char (*pArray[10][10]); please reply.

1 Answers  


void main() {int a[5],i,b=16; for(i=0;i<5;i++) a[i]=2*i; f(a,5,b); for(i=0;i<5;i++) printf("\n %d",a[i]); printf("\n %d",b); } f(int *x,int n,int y) { int i; for(i=0;i<n;i++) *(x+i)+=2; y=y+2; }wat r the errors in the prg.and improvise the prg to get o/p.?

2 Answers   TCS,


Find the O/p of the following struct node { char *name; int num; }; int main() { struct node s1={"Harry",1331}; struct node s2=s1; if(s1==s2) printf("Same"); else printf("Diff"); }

1 Answers  


write a program which counts a product of array elements lower than 10.

1 Answers  


what do the 'c' and 'v' in argc and argv stand for?

0 Answers   TISL,






Describe advantages and disadvantages of the various stock sorting algorithms

1 Answers   Microsoft,


Write a program to generate prime factors of a given integer?

9 Answers   Microsoft,


What is the difference between text and binary i/o?

0 Answers  


how to find sum of digits in C?

21 Answers   CTS, Infosys,


When should I declare a function?

0 Answers  


what will be the output of" printf("%d%d",scanf("%d% d",&a&b));"

4 Answers  


general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only

0 Answers  


Categories