Follow Our FB Page << >> 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,


string reverse using recursion

Mind Tree,


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


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?


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


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?


3 4721

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


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


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 ) { }


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


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


2 9309

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

Infosys, Wipro,


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?


What do you mean by a sequential access file?


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


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


What are the salient features of c languages?


Mention four important string handling functions in c languages .


Explain that why C is procedural?


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 ?


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


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


write a program to concatenation the string using switch case?


What is c definition?


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


what is the structure pointer?


What is size of union in c?