C Interview Questions
Questions Answers Views Company eMail

what are two categories of clint-server application development ?

1 2108

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

2 11632

difference between function & structure

Verizon,

9 41460




what is the difference b/w compiler and debugger?

Assurgent,

2 5711

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 5891

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,

826

different between overloading and overriding

3 3080

What is memmove?

Oracle,

1 4894




What is a class?

3 2708

What is an object?

5 3016

When is an interface "good"?

1 2090

What is encapsulation?

2 3215

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

1 2729

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

1 1954

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

4 3595


Post New C Questions






Un-Answered Questions { C }

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

680


Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record

3679


how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software

1989


why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???

689


Write a Program to accept different goods with the number, price and date of purchase and display them

3431






write a programming in c to find the sum of all elements in an array through function.

956


What is your favorite subject?

122


which type of aspect you want from the student.

896


FILE PROGRAMMING

1005


Write a c program to demonstrate character and string constants?

932


a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion

1552


what is the structure pointer?

924


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.

857


write a program in c language to print your bio-data on the screen by using functions.

5359


Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent

663