Home / MCQ Bank / Computer
Computer Function Difficulty: Medium

What will be the output of the following C code? #include <stdio.h> int x = 5; void main() { int x = 3; printf("%d", x); { int x = 4; } printf("%d", x); }

Select the correct option to test your answer:

More Computer Questions

If the user enters 1 3.2 s, what value will be returned by the scanf()? scanf("%d %f %c", &s1, &s2, &s3); For floating point numbers, the precision flag specifies the number of decimal places to be printed. When no precision modifier is specified, printf() prints . . . . . . . . Which of these methods can randomize all elements in a list? If we purchase any fixed asset in credit, we can pass it from The key, a . . . . . . . . is the byte offset within the file of the beginning of the line.