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?
XAM is printed
exam is printed
Compiler Error
Nothing is printed
#include void main() { char letter =`Z`; printf(" %c",letter); }
Z
90
Garbage value
Error
Array passed as an argument to a function is interpreted as
Address of the array
Values of the first elements of the array
Address of the first element of the array
Number of element 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 k
int **array2 = (int **)malloc(nrows * sizeof(int *)); Don`t walk in front of me
I may not follow
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 }
10..10
10..50
Error
0
Description:

A sample test for testing your C programming Skills

Discussion

Chandra

#include<stdio.h>
void main()
{
char name[5][8];
int i=0, marks;
printf("enter student name:\n student marks:\n");
for(i=0;i<=5;i++)
{
scanf("%s %d",name,marks);
}
}






please tell the output imeddetly

5 days 15 hours 54 minutes ago

Chandra

for(i=0;i<=5;i++)
{

5 days 15 hours 55 minutes ago

Rohini Varma

the quiz is quite interesting....but i didnot understand 4 th question..of this test...is any one there to help me in understanding the solution to that question..please comment below

6 days 13 hours 3 minutes ago

Jasmeen

i want to make a program that takes as input1 n objects. Input2 is m,the number of objects you want to arrange out of n. The output is the number of ways in which these m objects can be arranged

47 days 16 hours 59 minutes ago

Aswath Babu

superr

58 days 13 hours 25 minutes ago

Ibrahim

Write a c program for the following Patern using for loop:
XX
XXX
XXXX
XXXXX
X
XX
XXX
XXXX

89 days 8 hours 3 minutes ago

Vinod

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

102 days 16 hours 38 minutes ago

Venkat

write a program for circular queue?

103 days 17 hours 7 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

111 days 10 hours 22 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!

114 days 14 hours 44 minutes ago

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

Your Facebook Friends on WizIQ

More Tests By Author

Asp.net Online Tests
6 Questions | 7481 Attempts

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

Asp.Net 2.0
5 Questions | 3381 Attempts