Answer Posted / nithya
%d print the value for example
int x=2;
printf("x=%d",x);
output:
x=2
%*d print the value for example
int x=2;
printf("x=%*d",x);
output:
x= 2
the output two space(x=2) next the value will be display
(x=6) the output 6 space next the value will be display
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain what is #line used for?
How is actual parameter different from the formal parameter?
Differentiate between full, complete & perfect binary trees.
Can you apply link and association interchangeably?
What is the use of printf() and scanf() functions?
Explain how can a program be made to print the name of a source file where an error occurs?
Explain what is the benefit of using const for declaring constants?
What do you mean by recursion in c?
write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list
cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration
What is substring in c?
What are the types of functions in c?
How does sizeof know array size?
What is struct node in c?
Why isn't it being handled properly?