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"

Accenture,

2 9213

what is link list?

3 2772

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

1 13816




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

Tech Mahindra,

10 13563

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 1829

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 1945

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 12426

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

2 2924




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

3 3614

tell me the full form of c?

2 4735

Reverse a string word by word??

9 9539

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

TCS, Wipro,

22 29175

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

TCS,

3 7946

How would you sort a linked list?

1 1874

why the execution starts from main function

9 10865


Post New C Questions






Un-Answered Questions { C }

A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM

855


PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE

686


write a program to generate address labels using structures?

1370


please send me the code for multiplying sparse matrix using c

956


What is the difference between declaring a variable by constant keyword and #define ing that variable?

1496






write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...

629


diff between exptected result and requirement?

793


Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)

4306


which type of aspect you want from the student.

843


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

634


How to implement a packet in C

1527


The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this

1741


what are bit fields? What is the use of bit fields in a structure declaration?

700


write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a

636


Without Computer networks, Computers will be half the use. Comment.

927