C Interview Questions
Questions Answers Views Company eMail

WAP – represent a char in binary format

Motorola, Wipro,

4 7188

what is memory leak?

3 6284

what is the difference between and "stdio.h"

Invendis, Kanbay, Mastek, MathWorks,

14 53784

which will be first in c compiling ,linking or compiling ,debugging.

Sonata,

3 7415

Write a program in C to convert date displayed in gregorian to julian date

HCL, Wipro,

2299

difference between memcpy and strcpy

1 12017

What's the best way to declare and define global variables?

7 12660

What does extern mean in a function declaration?

4 36382

How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?

2 9780

What's wrong with "char *p = malloc(10);" ?

4 11261

What is the difference between char a[] = "string"; and char *p = "string"; ?

Adobe, Honeywell, TCS,

14 40226

How do I initialize a pointer to a function?

2 10809

What's the difference between struct x1 { ... }; and typedef struct { ... } x2; ?

3 8810

Can I pass constant values to functions which accept structure arguments?

2 7573

Why doesn't the code "a[i] = i++;" work?

4 11916


Post New C Questions

Un-Answered Questions { C }

‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .

2366


What is typedef example?

607


which is conditional construct a) if statement b) switch statement c) while/for d) goto

729


What is difference between union and structure in c?

568


C language questions for civil engineering

1233






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

2511


What is abstract data structure in c?

517


Explain how can I avoid the abort, retry, fail messages?

583


What is the difference between test design and test case design?

1564


Do you have any idea how to compare array with pointer in c?

593


Explain enumerated types in c language?

598


Tell us something about keyword 'auto'.

657


explain what is a newline escape sequence?

678


Write a program to swap two numbers without using third variable in c?

607


Is c still relevant?

631