The 'Blind Coding C Programming Practice Quiz!' assesses understanding of C programming concepts through various coding scenarios. It tests knowledge on functions, output predictions, error identification, and data structure behavior in C, making it suitable for learners looking to improve or test their C programming skills.
2.2, 2.50, 2.50, 2.5
2.2e, 2.25f, 2.00, 2.25
2.250000e+000, 2.250000, 2.25, 2.250000
Error
Rate this question:
Error: unexpected end of file because there is no matching #endif
The number is odd
Garbage values
None of above
Rate this question:
IndiaBIX India
IndiaBIX IndiaBIX
India India
Error
Rate this question:
1, 2
2, 3
1, 2, 3
1, 3, 4
Rate this question:
Garbage value
Error
20
0
Rate this question:
Error: RValue required
Error: cannot convert parameter 1 from 'const char[15]' to 'char *'
Error: LValue required in strcpy
No error
Rate this question:
Error: invalid parameter in function display()
Error: invalid function call f=show;
No error and prints "IndiaBIX"
No error and prints nothing.
Rate this question:
100
200
Error: L value required for b
Garbage value
Rate this question:
1, 1, 1, 1
1, 1, 0, 1
1, 0, 0, 1
1, 0, 1, 1
Rate this question:
True
False
Rate this question:
Yes
No
Rate this question:
65474, 65476
65480, 65496
65480, 65488
65474, 65488
Rate this question:
The sentence will get printed in same order as it entered
The sentence will get printed in reverse order
Half of the sentence will get printed
None of above
Rate this question:
103 DotNet
103 PHP
102 Java
104 DotNet
Rate this question:
R n
Trh
Err
None of above
Rate this question:
6
Sample 6
Error
Garbage value
Rate this question:
A. 2 1 3 1 4 1 5 1 6 1 7 0
B. 2 1 3 1 4 1 5 1 6 1
C. 2 1 3 1 4 1 5 1
D. 2 2 3 3 4 4 5 5
Rate this question:
3.4E-4932 to 1.1E+4932
3.4E-4932 to 3.4E+4932
1.1E-4932 to 1.1E+4932
1.7E-4932 to 1.7E+4932
Rate this question:
Prints "IndiaBIX" 5 times
Function main() doesn't calls itself
Infinite loop
Prints "IndiaBIx"
Rate this question:
7, 9, 11, 13, 15
2, 15, 6, 8, 10
2 4 6 8 10
3, 1, -1, -3, -5
Rate this question:
0, 1, 2
1, 2, 3
0, 2, 1
1, 3, 2
Rate this question:
It converts a number to a given base
It converts a number to its equivalent binary.
It converts a number to its equivalent hexadecimal.
It converts a number to its equivalent octal.
Rate this question:
For(i=0; i<3; i++) { for(j=0; j<3; j++) printf("%d", p[i+j]); }
For(i=0; i<3; i++) printf("%d", p[i]); C. for(i=0; i<3; i++) { for(j=0; j<3; j++) printf("%d", p[i][j]); }
For(i=0; i<3; i++) { for(j=0; j<3; j++) printf("%d", p[i][j]); }
For(j=0; j<3; j++) printf("%d", p[i][j]);
Rate this question:
Error: in memccpy statement
Error: invalid pointer conversion
Error: invalid variable declaration
No error and prints "Learn through Indi"
Rate this question:
It writes “Copying!” into the file pointed by fp
It reads “Copying!” from the file and prints on display
It writes as well as reads “Copying!” to and from the file and prints it
None of the mentioned
Rate this question:
A structure tag declared in stdio.h
One of the basic datatypes in c
Pointer to the structure defined in stdio.h
It is a type name defined in stdio.h
Rate this question:
Myworld
Myworld(note: spaces to the left of myworld)
Myworld (note:followed by two spaces after myworld)
Undefined
Rate this question:
Compile time error
Undefined behaviour
10
0.000000
Rate this question:
true
True only if NULL value is 0
Compile time error
Nothing
Rate this question:
char *str = “Best C programming classes by Sanfoundry”;
char str[] = “Best C programming classes by Sanfoundry”;
Char str[20] = “Best C programming classes by Sanfoundry”;
Char[] str = “Best C programming classes by Sanfoundry”;
Rate this question:
No Compile time error, generates an array of structure of size 3
No Compile time error, generates an array of structure of size 9
Compile time error, illegal declaration of a multidimensional array
Compile time error, illegal assignment to members of structure
Rate this question:
2
4
8
0
Rate this question:
10
Compile time error
Segmentation fault/runtime crash since pointer to local variable is returned
Undefined behaviour
Rate this question:
Trying to read a file that doesn’t exist
Inability to write data in a file.
Failure to allocate memory with the help of malloc
All of the menioned
Rate this question:
%e output formatting depends on the argument and %g always formats in the format [-]m.dddddd or [-]m.dddddE[+|-]xx where no.of ds are optional.
%e always formats in the format [-]m.dddddd or [-]m.dddddE[+|-]xx where no.of ds are optional and output formatting depends on the argument.
No differences
Depends on the standard
Rate this question:
Compile time error
1
2
Varies
Rate this question:
1
Compile time error
2
Run time error
Rate this question:
Segmentation fault
Garbage
Error
Welcome
Rate this question:
True
False
Depends on the standard
Depends on the platform
Rate this question:
1 4
Compilation error
1 2 4
1 3 4
Rate this question:
Yes no
Yes
no
Compile time error
Rate this question:
Compile time error
Undefined behaviour
0
Some garbage value
Rate this question:
Nothing
Compile time error
Junk
8
Rate this question:
sine of x where x is in radians
Sine of x where x is in degree
Cosine of x where x is in radians
Cosine of x where x is in degree
Rate this question:
After loop
In for loop after loop
Compile time error
Infinite loop
Rate this question:
Hello is printed infinite times
Hello
Varies
Compile time error
Rate this question:
Inside if
Inside else if
Inside else
Compile time error
Rate this question:
True
false
Depends on the compiler
No print statement
Rate this question:
Quiz Review Timeline (Updated): Feb 6, 2024 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.