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 four numbers without using fifth variable?
What is FIFO?
write aprogram for There is a mobile keypad with numbers 0-9 and alphabets on it. take input of 7 keys and then form a word from the alphabets present on those keys.
1 Answers iGate, Shashi, Source Bits, Subex,
How to Clear last bit if it 1 using Macro TURN_OFF_BIT_LAST
Explain what is the benefit of using const for declaring constants?
Explain how can a program be made to print the name of a source file where an error occurs?
what is a constant pointer in C
Is double link list a linear data structure? If Yes, Why?If No, Why?
Difference between macros and inline functions? Can a function be forced as inline?
0 Answers HAL, Honeywell, Zomato,
What is the benefit of using const for declaring constants?
What's wrong with "char *p = malloc(10);" ?
Explain the red-black trees?