Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

C Interview Questions
Questions Answers Views Company eMail

please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code

Mind Tree,

1193

string reverse using recursion

Mind Tree,

1368

what is the main use of c where it can use the c

Infosys,

2 3034

what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?

1014

What is the meaning of this decleration? unsigned char (*pArray[10][10]); please reply.

1 2505

without using control structures and control structures find the max and min of given 2 nos

HCL,

1 2267

#include #include void main() { int i; if(1,0,2,3) { printf("if"); } else { printf("else"); } getch(); } Can any body tell the answer of this question with explanation?

Huawei,

3 4721

prog for 1st five prime numbers in 2^x - 1

1170

write a c program in such a way that if we enter the today date the output should be next day's date.

1225

I need testPalindrome and removeSpace #include #define SIZE 256 /* function prototype */ /* test if the chars in the range of [left, right] of array is a palindrome */ int testPalindrome( char array[], int left, int right ); /* remove the space in the src array and copy it over to the "copy" array */ /* set the number of chars in the "copy" array to the location that cnt points t */ void removeSpace(char src[], char copy[], int *cnt); int main( void ) { char c; /* temporarily holds keyboard input */ char string[ SIZE ]; /* original string */ char copy[ SIZE ]; /* copy of string without spaces */ int count = 0; /* length of string */ int copyCount; /* length of copy */ printf( "Enter a sentence:\n" ); /* get sentence to test from user */ while ( ( c = getchar() ) != '\n' && count < SIZE ) { string[ count++ ] = c; } /* end while */ string[ count ] = '\0'; /* terminate string */ /* make a copy of string without spaces */ removeSpace(string, copy, ©Count); /* print whether or not the sentence is a palindrome */ if ( testPalindrome( copy, 0, copyCount - 1 ) ) { printf( "\"%s\" is a palindrome\n", string ); } /* end if */ else { printf( "\"%s\" is not a palindrome\n", string ); } /* end else */ return 0; /* indicate successful termination */ } /* end main */ void removeSpace(char src[], char copy[], int *cnt) { } int testPalindrome( char array[], int left, int right ) { }

1635

write a program to print largest number of each row of a 2D array

1424

1. Write a program to reverse every second word in a given sentence.

1 2896

In which mode we open the file for read,write and append also in c ? a)W b)w+ c)r+ d)a

BitWise,

2 9309

List the variables are used for writing doubly linked list program.

Infosys, Wipro,

1163

write a c program to find largest number in matrix(in each row,each column, diagonally, and in the whole matrix)? Its urgent.

2 24437


Post New C Questions






Un-Answered Questions { C }

How are variables declared in c?

108


What do you mean by a sequential access file?

159


Explain how can I write functions that take a variable number of arguments?

144


Write a program to swap two numbers without using the third variable?

140


What are the salient features of c languages?

162






Mention four important string handling functions in c languages .

170


Explain that why C is procedural?

179


we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?

344


What is the use of a conditional inclusion statement in C?

166


what is the height of tree if leaf node is at level 3. please explain

1130


write a program to concatenation the string using switch case?

1104


What is c definition?

157


What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25

1041


what is the structure pointer?

1221


What is size of union in c?

140