C Interview Questions
Questions Answers Views Company eMail

what are two categories of clint-server application development ?

1 2158

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

2 11801

difference between function & structure

Verizon,

9 42184




what is the difference b/w compiler and debugger?

Assurgent,

2 5814

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 6010

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,

862

different between overloading and overriding

3 3167

What is memmove?

Oracle,

1 4947




What is a class?

3 2755

What is an object?

5 3102

When is an interface "good"?

1 2136

What is encapsulation?

2 3256

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

1 2766

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

1 1999

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

4 3681


Post New C Questions






Un-Answered Questions { C }

#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??

820


pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

1460


if p is a string contained in a string?

712


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

1106


simple program of graphics and their output display

781






how to capitalise first letter of each word in a given string?

754


hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...

695


write a c program for swapping two strings using pointer

1352


write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a

718


number of times a digit is present in a number

825


please give me some tips for the placement in the TCS.

953


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

837


#include { printf("Hello"); } how compile time affects when we add additional header file .

706


c program to compute AREA under integral

1013


Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.

907