Is there any restriction in how many arguments printf or
scanf function can take?
in which file in my c++ compiler i can see the code for
implementation of these two functions??
Answers were Sorted based on User's Feedback
Answer / uma sankar pradhan
printf() and scanf() are variable argument list functions
They can take any number of values as their arguments
The prototypes for these functions are found in the header
file "stdio.h"
Is This Answer Correct ? | 20 Yes | 2 No |
Answer / some
There is limitation as the function call stack is limited but both functions have variable number of arguments.
The functions are defined in <cstdio>
Is This Answer Correct ? | 6 Yes | 1 No |
Answer / venkatesh
printf() and scanf() can take any number of arguments.
the prototypes of these functiona are stdio.h and conio.h
Is This Answer Correct ? | 8 Yes | 7 No |
how to swap two nubers by using a function with pointers?
What is bin sh c?
How do you override a defined macro?
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
What are different types of pointers?
What are register variables? What are the advantage of using register variables?
What is pass by value in c?
Write a C program to get the desired output. 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1 . . . 1 n..............n 1 Note: n is a positive integer entered by the user.
Juxtapose the use of override with new. What is shadowing?
Ca some one please help me with aC code to allow user enter numbers from 1 to 20 without repeating and prnt the sum of those numbers thnx
Find the output? void main() {float a=2.0; printf("\nSize of a ::%d",sizeof(a)); printf("\nSize of 2.0 ::%d",sizeof(2.0));}
11 Answers IBM, TCS,
What is the result main() { char c=-64; int i=-32 unsigned int u =-16; if(c>i){ printf("pass1,"); if(c<u) printf("pass2"); else printf("Fail2");} else printf("Fail1); if(i<u) printf("pass2"); else printf("Fail2") } a)Pass1,Pass2 b)Pass1,Fail2 c)Fail1,Pass2 d)Fail1,Fail2 e)none