C Interview Questions
Questions Answers Views Company eMail

which one of follwoing will read a character from keyboard and store in c a)c=getc() b)c=getchar() c)c=getchar(stdin) d)getc(&c) e)none

Trident,

7 20661

what is disadvantage of pointer in C

Tech Mahindra,

13 24993

ABCDCBA ABC CBA AB BA A A

TCS,

4 17739

which one is highest Priority in c? a)=,b)+,c)++,d)==

4 5281

which one low Priority in c? a)=,b)++,c)==,d)+

10 8834

What are data breakpoints?

Adobe,

3 8037

What are bit fields? What is their use?

Adobe,

2 5501

Write code for atoi(x) where x is hexadecimal string.

Adobe,

5 24902

Write code for finding depth of tree

Adobe,

2 5255

Two's compliment of -5

Adobe,

4 7903

CopyBits(x,p,n,y) copy n LSBs from y to x starting LSB at 'p'th position.

Adobe,

9 10127

what's the return value of malloc()

9 13492

I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...

9651

What are the average number of comparisons required to sort 3 elements?

DRDO,

2 6022

Is it possible to run a c program without using main?If yes HOW??

Wipro,

13 16167


Post New C Questions

Un-Answered Questions { C }

How is null defined in c?

650


Which node is more powerful and can handle local information processing or graphics processing?

823


What does 4d mean in c?

943


Is c is a low level language?

559


What does a pointer variable always consist of?

659






difference between native and cross compilers

1669


What is omp_num_threads?

577


How can you pass an array to a function by value?

598


Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)

603


What is nested structure with example?

620


Explain what is the difference between a string and an array?

630


What is #error and use of it?

677


What is the difference between array_name and &array_name?

774


Explain modulus operator. What are the restrictions of a modulus operator?

597


What is the difference between printf and scanf in c?

745