C Interview Questions
Questions Answers Views Company eMail

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

1 4506

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

2 7194

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

1 5729

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


2 8997

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

14 10460

Describe advantages and disadvantages of the various stock sorting algorithms


1 7407

How would you find a cycle in a linked list?


3 10352

How would you write qsort?

1 4714

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

Amazon, Microsoft,

6 17676

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?


6 4573

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


7 4339

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

Oracle, CTS, Scorpos,

26 61014

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 3919

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 4776

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

2 3793

Post New C Questions

Un-Answered Questions { C }

Explain the process of converting a Tree into a Binary Tree.


Write a C program to count the number of email on text


Write a c program to build a heap method using Pointer to function and pointer to structure ?


You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.


What is C language ?


main() { static char *s[]={"black","white","yellow","voilet"}; char **ptr[]={s+3,s+2,s+1,s}, ***p; p=ptr; **++p; printf("%s",*--*++p+3); }


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


why programs in c are running with out #include? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }


number of times a digit is present in a number


design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.


can anyone please tell about the nested interrupts?


List the variables are used for writing doubly linked list program.


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.


a c code by using memory allocation for add ,multiply of sprase matrixes


Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.