C Interview Questions
Questions Answers Views Company eMail

difference between loading and linking

1 2076

difference between object file and executable file

4382

can we execute the program with the object file

1 2085




Stimulate calculator using Switch-case-default statement for two numbers

Wipro,

1809

Diff between for loop and while loop?

TCS,

2 5058

How to write a C program to determine the smallest among three nos using conditional operator?

Google,

2 15147

Read two numbers from keyboard and find maximum of them?

1 1882

Write a pro-gramme to determine whether the number is even or odd?

1 1790




Find the highest of three numbers and print them using ascending orders?

1 2680

Stimulate calculators to perform addition,subtraction,multiplication and division on two numbers using if/else statement?

IBM,

1 5865

what is the difference between static variable and register variable?

3 30809

Example of friendly function in c++

2 4210

What is the difference between %d and %*d in C

3 2814

What is the exact difference between '\0' and ""

3 2634

#include int main() { char *str[]={"Frogs","Do","Not","Die","They","Croak!"}; printf("%d %d\n",sizeof(str),strlen(str)); ...return 0; } what will the output of the above program?

6 4175


Post New C Questions






Un-Answered Questions { C }

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.

2659


writ a program to compare using strcmp VIVA and viva with its output.

777


find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }

1124


regarding pointers concept

847


what is stack , heap ,code segment,and data segment

1564






‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.

1223


write a program for the normal snake games find in most of the mobiles.

1181


write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1

1321


c program for searching a student details among 10 student details

995


Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me

782


what is bit rate & baud rate? plz give wave forms

820


how many errors in c explain deply

915


1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures

2078


How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?

13287


what do u mean by Direct access files? then can u explain about Direct Access Files?

976