Test your C Programming Skills

void main() { int a=10,b=20; char x=1,y=0; if(a,b,x,y) { printf("EXAM"); } } What is the output?
Nothing is printed
Compiler Error
exam is printed
XAM is printed
#include void main() { char letter =`Z`; printf(" %c",letter); }
Garbage value
Array passed as an argument to a function is interpreted as
Number of element of the array
Address of the first element of the array
Values of the first elements of the array
Address of the array
main() { char thought[2][30]={"Don`t walk in front of me..","I am not follow"}; printf("%c%c",*(thought[0] 9),*(*(thought 0) 5)); } What is the output of this program?
I may not follow
int **array2 = (int **)malloc(nrows * sizeof(int *)); Don`t walk in front of me
k k
What is the output of the following code? # include # define a 10 main() { printf("%d..",a); foo(); printf("%d",a); } void foo() { #undef a #define a 50 }

A sample test for testing your C programming Skills


Davit Jibuti

in 5 test, there is no prototype of function "foo()" so for main function it's not famous. the code should return errors. and the correct answer is "Error"

27 days 18 hours 50 minutes ago

Anisha Sahu

kindly explain the reasons for the answers so that we can learn y it happnd so... otherwise these tests will b of no use. so kindly give the explanations keeping learners in mind. so that we can improve conceptually

30 days 20 hours 59 minutes ago

Govind Negi

1. Write a program to implement a stack which contains the address of the pointers for allocation of memory. Do the pop operation on stack and free the popped pointers.

72 days 23 hours 56 minutes ago

Mavchi Honak

setup an internet connection and share this connection using proxy server with limited service that is only HTTP and FTP.

137 days 5 hours 27 minutes ago

Mavchi Honak

write a c programe to show weekday when input 1 show Monday 2 tuesday as sgiw on using the switch statement

137 days 5 hours 28 minutes ago

মোরশেদ সোহাগ

// returns the number of digits in n.
static int length(int n) {
int numDigits = 0;
while (n > 0) { // Assumes n is >= 0
n = n / 10;
if (numDigits == 0) {
numDigits = 1;
return numDigits;

// returns the nth digit of number. RightmoSee more

144 days 8 hours 8 minutes ago


last question will coz type mismatch error..so answer shud b error

189 days 4 hours 8 minutes ago

sanjeet kumar

All answers r right

1029 days 1 hours 30 minutes ago

asif patel

nfdbnskfnd dbfsdbfsd f d f f dfn fnm.fkldkljioermsajfkjenrjtne ghuiher ewrwenerj bdn bfdbfdn f dn dfberhr fnfndfaaldbfrmeea=ra====meera kaise ho

1035 days 6 hours ago

vajid mulla


1042 days 5 hours 13 minutes ago

Zubair Masoodi
C# Assignment help, C# Homework help, Asp.net help, learn C# and Asp.n
3 Members Recommend

Your Facebook Friends on WizIQ

More Tests By Author

Asp.net Online Tests
6 Questions | 6956 Attempts

Asp.net online test (Microsoft Certified Technical Specialist (MCTS)
5 Questions | 14616 Attempts

Asp.Net 2.0
5 Questions | 3295 Attempts

Test your Computer Knowledge 2
26 Questions | 4208 Attempts

Explore Similar Courses