C Programming :: Basic Concepts - Discussion
Home > C Programming > Basic Concepts > MCQs Questions Discussion
40 / 90
What will be output of the following "c" code?
#include<stdio.h>
void main() {
int i =400, j = 300;
printf("%d %d %d %d ");
}
#include<stdio.h>
void main() {
int i =400, j = 300;
printf("%d %d %d %d ");
}
AGarbage Values
Bstack overflow
C400 300
D300 400
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
STEP-BY-STEP
In the printf() function we are just printing values, but have it's not specified what values are we actually printing. Therefore, in such a case, it is going to print garbage values.
Read Full Answer
Report Error
Please Login First Click Here