Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

C Interview Questions
Questions Answers Views Company eMail

what are two categories of clint-server application development ?

1 3802

WRITE A PROGRAM TO PRINT THE FOLLOWING OUTPUTS USING FOR LOOPS. A) * B) ***** *** * * ***** * * *****

2 15678

difference between function & structure

Verizon,

9 61006

what is the difference b/w compiler and debugger?

Assurgent,

2 8410

Write an implementation of “float stringToFloat(char *str).” The code should be simple, and not require more than the basic operators (if, for, math operators, etc.). • Assumptions • Don’t worry about overflow or underflow • Stop at the 1st invalid character and return the number you have converted till then, if the 1st character is invalid return 0 • Don’t worry about exponential (e.g. 1e10), instead you should treat ‘e’ as an invalid character • Write it like real code, e.g. do error checking • Go though the string only once • Examples • “1.23” should return 1.23 • “1a” should return 1 • “a”should return 0

Qualcomm,

6 10653

a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f

TCS,

2113

different between overloading and overriding

3 6198

What is memmove?

Oracle,

1 6788

What is a class?

3 5529

What is an object?

5 6859

When is an interface "good"?

1 3657

What is encapsulation?

2 5509

How does C++ help with the tradeoff of safety vs. usability?

1 4479

How can I prevent other programmers from violating encapsulation by seeing the private parts of my class?

1 3788

code snippet for creating a pyramids triangle ex 1 2 2 3 3 3

4 7152


Post New C Questions

Un-Answered Questions { C }

What is an expression?

1015


What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }

1148


What is the difference between char array and char pointer?

1006


How can I pad a string to a known length?

988


What is 1f in c?

2599


Differentiate between static and dynamic modeling.

1069


What is the use of header files?

1075


Explain what is a stream?

1048


What are # preprocessor operator in c?

1061


In C programming, what command or code can be used to determine if a number of odd or even?

1013


How can I write a function that takes a format string and a variable number of arguments?

1010


What is function definition in c?

1038


Which is more efficient, a switch statement or an if else chain?

988


Is null always equal to 0(zero)?

1010


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

2883