C Interview Questions
Questions Answers Views Company eMail

what is compiler

6 7653

main() { printf(5+"Vidyarthi Computers"); }

6 9063

how many error occurs in C language ?

Infosys, Wipro,

22 40316

how many times of error occur in C

11 12733

no consistent academics. how to answer the question

1850

how many header file is in C language ?

College School Exams Tests, CTS, IBM, IMS, Infosys, ME, Sign Solutions, Wipro, XVT,

44 69867

How can I implement opaque (abstract) data types in C? What's the difference between these two declarations? struct x1 { ... }; typedef struct { ... } x2;

2 8542

Suppose I want to write a function that takes a generic pointer as an argument and I want to simulate passing it by reference. Can I give the formal parameter type void **, and do something like this? void f(void **); double *dp; f((void **)&dp);

1 2898

what is the differance between pass by reference and pass by value.

Infosys,

7 10258

what is the difference between arrays and linked list

MAHINDRA, Tech Mahindra, Wipro,

26 81889

There are 3 baskets of fruits with worng lables,one basket has apple,another basket has orange,another has combination of apple and orange,what is the least way of interchange the lables.

Cisco, Google, MBT,

15 23496

Write a programme to find even numbers without using any conditional statement?

ADD Software, Infosys,

3 10230

Write a program for the following series: 1*3*5-2*4*6+3*5*7-4*6*8+.................up to nterms

Convex Digital,

5 8315

Software Interview Questions

CAT,

1 3431

How do you write a program which produces its own source code as its output?

4 9052


Post New C Questions

Un-Answered Questions { C }

Explain function?

661


What is the right type to use for boolean values in c?

580


pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

2197


Difference between pass by reference and pass by value?

656


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.

3340






How the c program is executed?

629


What is the easiest sorting method to use?

632


What is a spanning Tree?

948


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

3498


Explain about block scope in c?

657


What is graph in c?

583


How to declare a variable?

564


What is union and structure in c?

611


What will the code below print when it is executed?   int x = 3, y = 4;         if (x = 4)                 y = 5;         else                 y = 2;         printf ("x=%d, y=%d ",x,y);

1348


What are the different types of pointers used in c language?

610