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); }
Error
Garbage value
90
Z
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?
K
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 }
0
Error
10..50
10..10
Description:

A sample test for testing your C programming Skills

Discussion

Vinod

write a program for insert a node at begaining of a list

8 days 21 hours ago

Venkat

write a program for circular queue?

9 days 21 hours 29 minutes ago

Teja

write a program having series....
1
2 4
3 6 9
4 8 12 16
5 10 15 20 25
6 12 18 24 30 36
7 14 21 28 35 42 49
8 16 24 32 40 48 56 64
9 18 27 36 45 54 63 72 81
10 20 30 40 50 60 70 80 90 100.......using one loop in c

17 days 14 hours 44 minutes ago

Mutesasira Jovan

Am a learner of c my first language
I wanted to write a program that can recommend two crops v all given cassava,millet,maize,beans and peas with their corresponding profits they make.
i had an idea to define and initialize an array with profits, bubble sort them in descending order but the problem came with switching profits to output on screen!

20 days 19 hours 6 minutes ago

Kumari

write a program to reverse a string

56 days 13 hours 49 minutes ago

Abdur Razzak Shuvo

write a program that prints sum=x1+x2+x3+.....+xn with c

83 days 18 hours 12 minutes ago

Dotnet Dotnetsql

Found a site (http://www.iheadgo.com) that offers tons of practice exams for multiple subjects. They offer practice exams for almost anything possible. Check it out.
Checking out this site and looks interesting...a lot of different Exams TI.
http://www.iheadgo.com

88 days 8 hours 27 minutes ago

Jestin

to print the following sequence
a
ab
abc
abcd

95 days 16 hours 34 minutes ago

Priyabrata Rath

Required libraries should be completely specified, like #include<stdio.h> or any other. Those statements should not be left blank. 2 such questions confused me and got me commit mistakes.

115 days 7 hours 4 minutes ago

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"

154 days 11 hours 4 minutes ago

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

Your Facebook Friends on WizIQ

More Tests By Author

Asp.net Online Tests
6 Questions | 7281 Attempts

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

Asp.Net 2.0
5 Questions | 3350 Attempts