C Interview Questions
Questions Answers Views Company eMail

what is unsigened char and what is the difference from char

2 2192

how does a general function , that accepts an array as a parameter, "knows" the size of the array ? How should it define it parameters list ?

Patni, TCS,

2 2721

what is the difference between : func (int list[], ...) or func (int *list , ....) - what is the difference if list is an array and if also if list is a pointer

2 2184

difference between string and array?

6 3423

what is the difference between c and c++?

7 5763

write a program which counts a product of array elements lower than 10.

1 1551

write a program to delete an item from a particular location of an linear array?

1 3219

what type of errors are checked during compilation

3 5767

How to run c Program without using IDE of c. means if program made in notepad.then how to compile by command prompt.


1 3845

what is a pointer

TCS, Bank Of America,

4 3774

what is the use of macro program


1 2587

wht is the difference between KPO and BPO ?

Infosys, Accenture, HCL, BPO, HCK,

2 11526

a simple program in c language


5 3088

what is the Output? int a=4 b=3; printf("%d%d%d%d%d%d",a++,++a,a++,a++,++a,a++); printf("%d%d%d%d%d%d",b--,b--,--b,b--,--b,--b);


10 7598

int main(){ float f=8.0; if(f==8.0) printf("good"); else printf("bad"); } what is the answere and explain it?

3 2130

Post New C Questions

Un-Answered Questions { C }

Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent


pierrot's divisor program using c or c++ code




what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values


In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)


7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.


Read N characters in to an array . Use functions to do all problems and pass the address of array to function. 1. Print only the alphabets . If in upper case print in lower case vice versa. 2. Enter alphanumeric characters and form 2 array alphaets and digits.Also print the count of each array. 3. Find the count of a certain character. 4. Print the positions where a certain character occured. 5. Print the characters between successive array elements. 6. Find the largest and smallest charcter. How many times it each one occured. 7. Enter a certain range. Print out the array elements which occured between these range. 8. Reverse a character array without using another array. 9. Reverse an array region. 10. Replace a the array elements with it next character . Use a after z. 11. Code the array element with certain character as first alphabet. 12. Duplicate all the vowels in a character array. What is the new count. 13. Delete the vowels in a character array. What is the new array count. 14. Print the count of all characters in the array. 15. Enter n alphabets and store a upto tht charcter in array.What is the array count? 16. Sort a character array. 17. Merge 2 character arrays largearray,smallarray. 18. Find the pair with largest number of characters in between. 19. Find the numerical value of a charcter array. 20. Store n numeral characters in an arrray. Insert another numeral character in a certain position. 21. Insert a character in a sorted array. 22. Merge 2 sorted arrays in sorted fashion. 23. Duplicate the least occuring character. 24. Write a menu driven program to circular right/left shift an array of n elements. 25. Is the character array palindrome? if not make it palindrome. 26. Concatenate the first n charaters to the end of the string. 27. Print all n group of chracters which are palindrome. 28. Concatneate the reverse of last n characters to the array.


What is your favorite subject?


1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.


write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays


write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?


write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);


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


#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??


What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }