C Interview Questions
Questions Answers Views Company eMail

what are two categories of clint-server application development ?

1 3151

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

2 14748

difference between function & structure

Verizon,

9 57576

what is the difference b/w compiler and debugger?

Assurgent,

2 7196

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 8798

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,

1587

different between overloading and overriding

3 4937

What is memmove?

Oracle,

1 6077

What is a class?

3 4335

What is an object?

5 5370

When is an interface "good"?

1 3085

What is encapsulation?

2 4609

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

1 3793

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

1 3014

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

4 5847


Post New C Questions

Un-Answered Questions { C }

What is typeof in c?

609


What are the types of i/o functions?

680


What does s c mean on snapchat?

587


What are the differences between new and malloc in C?

610


we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above

635






How to declare a variable?

572


What are actual arguments?

647


Which is an example of a structural homology?

785


What is break statement?

631


Explain can you assign a different address to an array tag?

648


Explain void pointer?

592


Why is %d used in c?

567


Are there any problems with performing mathematical operations on different variable types?

575


Why c is called a middle level language?

634


How arrays can be passed to a user defined function

579