C Interview Questions
Questions Answers Views Company eMail

Write a C program that reads a series of strings and prints only those ending in "ed"


2 8919

what is link list?

3 2730

main() { printf(5+"good morning"); printf("%c","abcdefgh"[4]); }the o/p is morning and e...how someone explain

1 13247

main() { printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3)); } wat is the o/p and how?

Tech Mahindra,

10 13115

I have an array of 100 elements, each of which is a random integer. I want to know which of the elements: a) are multiples of 2 b) are multiples of 2 AND 5 c) have a remainder of 3 when divided by 7

1 1789

I have an array of 100 elements. Each element contains some text. i want to: append a star character to the end of every fifth element remove every second character from every tenth element, and… add a line feed (ascii 10) after the 30th character of every array element whose length is greater than 30 characters.

1 1894

if the address of a[1,1] and a[2,1] are 1000 and 1010 respectively and each occupies 2 bytes then the array has been stored in what order?

3 12174

any string of bits of length 'n' represents a unique non- negative integer between.............?

2 2822

write a function which accept two numbers from main() and interchange them using pointers?

3 3546

tell me the full form of c?

2 4682

Reverse a string word by word??

9 9455

wap to print "hello world" without using the main function.

TCS, Wipro,

22 28906

wite a programme in c to linear search a data using flag and without using flags?


3 7587

How would you sort a linked list?

1 1838

why the execution starts from main function

9 10532

Post New C Questions

Un-Answered Questions { C }

I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...


code for replace tabs with equivalent number of blanks


#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??


Is Exception handling possible in c language?


find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2


provide an example of the Group by clause, when would you use this clause


hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...


how to execute a program using if else condition and the output should enter number and the number is odd only...


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


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.


how to create duplicate link list using C???


4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.


a program that can input number of records and can view it again the record


how logic is used


program to find out date after adding 31 days to a date in the month of febraury also consider the leap year