C Interview Questions
Questions Answers Views Company eMail

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

1 4690

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

2 7268

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

1 5871

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


2 9249

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

14 10671

Describe advantages and disadvantages of the various stock sorting algorithms


1 7484

How would you find a cycle in a linked list?


3 10450

How would you write qsort?

1 4784

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

Amazon, Microsoft,

6 17956

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 4734

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


7 4505

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

Oracle, CTS, Scorpos,

26 61685

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 4033

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 4873

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

2 3882

Post New C Questions

Un-Answered Questions { C }

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


Wt are the Buses in C Language




what is use of malloc and calloc?


using only #include and #include Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string. Sample Test: Enter a string: madam madam is a palindrome. Enter a string: 09023 09023 is not a palindrome.


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


write a c program to find the sum of five entered numbers using an array named number


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


given post order,in order construct the corresponding binary tree


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


write a program to generate address labels using structures?


Difference between Shallow copy and Deep copy?


In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.


in iso what are the common technological language?


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 “****”.