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 |
Explain what does the function toupper() do?
how do we remove the printed character in printf statement and write next it it
Why can arithmetic operations not be performed on void pointers?
write a program that prints a pascal triangle based on the user input(like how many stages) in an efficient time and optimized code?
How #define works?
Why do we use null pointer?
4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
Write a program to reverse a given number in c language?
What is an object?
What is 1f in c?
What is s or c?
what do you mean by enumeration constant?