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 20583

what is disadvantage of pointer in C

Tech Mahindra,

13 24936

ABCDCBA ABC CBA AB BA A A

TCS,

4 17701

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

4 5253

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

10 8769

What are data breakpoints?

Adobe,

3 8017

What are bit fields? What is their use?

Adobe,

2 5474

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

Adobe,

5 24879

Write code for finding depth of tree

Adobe,

2 5191

Two's compliment of -5

Adobe,

4 7878

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

Adobe,

9 10065

what's the return value of malloc()

9 13434

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...

9642

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

DRDO,

2 6002

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

Wipro,

13 16036


Post New C Questions

Un-Answered Questions { C }

What is the right way to use errno?

610


What is the use of volatile?

598


What is the difference between array_name and &array_name?

768


Why main is used in c?

573


What are valid operations on pointers?

654






What does %d do in c?

533


2) Write a program that will help Air Traffic Control for an airport to view the sequence of flights ready for take-off. The airport can accommodate 10 flights waiting for take-off at any point in time. Each flight has a unique 3 digit numeric identifier.  Each time a flight takes-off, Air Traffic Control adds a flight to the waitlist. Each time a flight is added to the waitlist, the list of flights waiting to take-off must be displayed.  When a flight is cleared for take-off, Air Traffic Control removes the flight from the waitlist. Each time a flight takes-off, the list of flights waiting to take-off must be displayed.  Sequence of take-off is the sequence of addition to the waitlist

2504


What is the difference between array and pointer?

553


Explain the concept and use of type void.

615


how to make a scientific calculater ?

1549


Why dont c comments nest?

607


Is there a way to compare two structure variables?

605


What is the difference between #include

and #include “header file”?

540


What is a null pointer in c?

581


What are identifiers c?

552