C Interview Questions
Questions Answers Views Company eMail

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

1 4773

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

2 7327

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

1 5940




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

Synergy,

2 9376

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

14 10765

Describe advantages and disadvantages of the various stock sorting algorithms

Microsoft,

1 7532

How would you find a cycle in a linked list?

NSN,

3 10498

How would you write qsort?

1 4838




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

Amazon, Microsoft,

6 18066

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 4818

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 4613

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

Oracle, CTS, Scorpos,

26 62018

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 4078

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 4939

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

2 3948


Post New C Questions






Un-Answered Questions { C }

what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)

1134


how to count no of words,characters,lines in a paragraph.

3113


hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel

696


Simplify the program segment if X = B then C ← true else C ← false

1809


i have a written test for microland please give me test pattern

1405






Calculate 1*2*3*____*n using recursive function??

761


4. main() { int c=- -2; printf("c=%d",c); }

556


p*=(++q)++*--p when p=q=1 while(q<=6)

489


The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this

1823


code for quick sort?

809


how do you programme Carrier Sense Multiple Access

811


Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.

1028


Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor

2102


hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..

680


Why is event driven programming or procedural programming, better within specific scenario?

1195