C online Test

What type of C language ?


which header file contain clrscr() ?


#include<stdio.h>

void main()

{

int a=5,b;

b=++a + ++a;

printf("b=%d",b);

}

Out put is......


#include<stdio.h>

void main()

{

int i;

for(i=1;i<=10;i++);

printf("%d",i);

}

out put is......


#include<stdio.h>

void main()

{

int i;

for(i=1;i++;i++)

{

printf("%d\n",i);

}

out put is........


#include<stdio.h>

void main()

{

int i=5;

do

{

printf("%d\n",i);

i++;

}

while(i>10);

}

out put is.....


#include<stdio.h>

void main()

{

int i;

for(i=1;i<=10;i++)

{

if(i==5)

{

break;

}

printf("%d\n",i);

}

}

out put is..........


#include<stdio.h>

void main()

{

int i;

for(i=1;i<=8;i++)

{

if(i==5)

{

continue;

}

printf("%d\n",i);

}

}

out put is..........


size of int in 32 bit system ?


variable name can be long up to ---------character


what type of c programming language?















































































Description:

It is simple test on c that develop your knowledge. it help you to prepare to attempt the interview.Basically it is made up on practical knowledge base..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

Tags:

C  Language

Comments
shaily shrivastava
By: shaily shrivastava
383 days 7 hours 24 minutes ago

gr8 tst

sandeep
By: sandeep
380 days 19 minutes ago

vguddddddddddddd

Vijay
By: Vijay
378 days 1 hours 28 minutes ago

it shd be 13 for Q3 not 14

RAVI KUMAR
By: RAVI KUMAR
364 days 19 hours 33 minutes ago

The answer of Q. No.3 should be 12.

sukanya
By: sukanya
269 days 2 hours 30 minutes ago

answer for Q 3 is 13..

sukanya
By: sukanya
269 days 2 hours 30 minutes ago

answer for Q 3 is 13..

nik
By: nik
236 days 8 hours 33 minutes ago

for Q3, answer is 14 because we will use the incremented value of i for previous i also.

Want to learn?

Sign up and browse through relevant courses.

Name:
Your Email:
Password:
Country:
Contact no:


Area code Number
Subjects you are interested in:
Word verification: (Enter the text as in image)


Sign Up Already a member? Sign In
I agree to WizIQ's User Agreement & Privacy Policy
3 Followers
Test: 1

Your Facebook Friends on WizIQ

Give live classes, create & sell online courses

Try it free Plans & Pricing

Connect