C Interview Questions
Questions Answers Views Company eMail


main() { int *ptr=(int*)malloc(sizeof(int)); *ptr=4; printf("%d",(*ptr)+++*ptr++); }

Vector, Vector Solutions,

5 39417

struct node {struct node*temp,*new} prinf("%d",sizeof(struct node));

2 3198

m=++i&&++j(||)k++ printf("%d"i,j,k,m)

ABC,

1 4944

char p="data"; printf(p);

2 3281

read a number & print all its devisors using c-program?

3 5353

get any number as input except 1 and the output will be 1.without using operators,expressions,array,structure.don't print 1 in printf statement

3 3699

input may any number except 1,output will always 1.. conditions only one variable should be declare,don't use operators,expressions,array,structure

IBM,

4 4594

Write a c program using for loop in switch case?

Infosys,

1 5682

Which is the memory area not included in C program? give the reason

IBM, TCS,

1481

Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

1 3268

what is the height of tree if leaf node is at level 3. please explain

1575

what is level of tree if leaf node is at level 4.please explain.

Wipro,

1 3791

how to find sum of 5 digits in C?

4 5448

what is ans for this scanf(%%d",c);

1 3119


Post New C Questions

Un-Answered Questions { C }

What is the ANSI C Standard?

752


What is typedef example?

598


Does c have class?

589


Is sizeof a keyword in c?

555


Is main an identifier in c?

571






Can you apply link and association interchangeably?

649


Tell me the use of bit field in c language?

600


What is the use of parallelize in spark?

557


Where are the auto variables stored?

599


Where does the name "C" come from, anyway?

617


Why is structure important for a child?

582


What is c++ used for today?

640


What is the meaning of typedef struct in c?

563


Explain the term printf() and scanf() used in c language?

570


What is the difference between the local variable and global variable in c?

505