C Interview Questions
Questions Answers Views Company eMail

write a program to copy a string without using a string?

2 2907

what is the coding of display the factorial of a number using array and function?

1 1790

write a program to display reverse of a number using for loop?

14 32940




give an example of type casting by a simple c program

TCS,

2 2473

You have an array of n integers, randomly ordered with value 1 to n-1.The array is such that there is only one and one value occurred twice. How will you find this number?

1 1678

write a c program for print your name .but,your name may be small letter mean print a capital letter or your name may be capital letter mean print a small letter .example \\enter ur name : sankar The name is: SANKAR (or) enter your name:SAnkar The name is:saNKAR

IBM,

3 3432

write a program to gat the digt sum of a number (et. 15= >1+5=6)

2 1744

write a progam to display the factors of a given number and disply how many prime numbers are there?

2 5292




What is the mean of this statement:: if(int i=0 * i=9)

HCL,

2 2502

control 50 devices which has 2 states on and off.using bitwise operator.plz answer it its urgent

1 1701

write a c program to find the roots of a quadratic equation ax2 + bx + c = 0

CSC, TATA, St Marys,

9 31100

write a program to swap two numbers without using temporary variable?

3 4302

how to write a data 10 in address location 0x2000

3 2358

what is a non volatile key word in c language?

1 2596

what is diognisis?

1 1658


Post New C Questions






Un-Answered Questions { C }

what type of questions arrive in interview over c programming?

795


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

637


write a program to generate address labels using structures?

1370


Write a program that accept anumber in words

444


write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list

1380






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

692


How do we make a global variable accessible across files? Explain the extern keyword?

633


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

856


code for replace tabs with equivalent number of blanks

739


`write a program to display the recomended action depends on a color of trafic light using nested if statments

819


write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.

1658


Why cd or dvd are round why not square.

87


write a program to copy the string using switch case?

1587


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.

2534


If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..

758