C Interview Questions
Questions Answers Views Company eMail

Juxtapose the use of override with new. What is shadowing?

1 4853

Explain the differences between public, protected, private and internal.

2 7383

Explain what?s happening in the first constructor: public class c{ public c(string a) : this() {;}; public c() {;} } How is this construct useful?

1 6007




What is the difference between typeof(foo) and myFoo.GetType()?

Synergy,

2 9521

What's the difference between a linked list and an array?

14 10954

Describe advantages and disadvantages of the various stock sorting algorithms

Microsoft,

1 7585

How would you find a cycle in a linked list?

NSN,

3 10570

How would you write qsort?

1 4906




How would you print out the data in a binary tree, level by level, starting at the top?

Amazon, Microsoft,

6 18226

If "AaBbCc" is passed to the char char x(*a) { a[0]?x(a+1):1; printf("%c",a[0]); return 1; } what will be the output?

Hughes,

6 4903

f(*p) { p=(char *)malloc(6); p="hello"; return; } main() { char *p="bye"; f(p); printf("%s",p); } what is the o/p?

Hughes,

7 4719

what is the different between if-else and switch statment (other than syntax)

Oracle, CTS, Scorpos,

26 62438

f(x,y,z) { y = y+1; z = z+x; } main() { int a,b; a = 2 b = 2; f(a+b,a,a); print a; } what is the value of 'a' printed

5 4140

helllo sir give me some information of the basic information the c as printf ,scanf , %d ,%f and why is the main use of these.

3 4999

helllo sir , what is the main use of the pointer ,array ,and the structure with the example of a programe

2 4031


Post New C Questions






Un-Answered Questions { C }

show how link list can be used to repersent the following polynomial i) 5x+2

954


i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical

820


Write the test cases for checking a variable having value in range -10.0 to +10.0?

958


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

697


what is use of malloc and calloc?

676






Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.

878


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

5421


how is the examination pattern?

893


WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

1142


Difference between Shallow copy and Deep copy?

862


void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply

869


what are bit fields? What is the use of bit fields in a structure declaration?

786


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

2039


Give basis knowledge of web designing ...

870


write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3

943