C Interview Questions
Questions Answers Views Company eMail

write a c program to accept a given integer value and print its value in words

Vernalis Systems,

4 17290

what is the benefit of c30

2 4386

what is the difference between declaration ,defenetion and initialization of a variable?

LG Soft,

7 21221




what do u mean by Direct access files? then can u explain about Direct Access Files?

LG Soft,

971

why we shiuld use main keyword in C

5 5847

What is #pragma directive?how it is used in the program? what is its advantages and disadvantages?

2 6161

what is c?

Tech Mahindra,

7 7228

what is object oriental programing?

1 2842




Give me basis knowledge of c , c++...

5 3420

Give basis knowledge of web designing ...

HCL,

891

without a terminator how can we print a message in a printf () function.

NIIT,

7 5519

Is the C language is the portable language...If yes...Then Why...and if not then what is problem so it is not a Portable language..???

TCS,

2 10258

what is the output of below pgm? void main() { int i=0; if(i) printf("pass"); else printf("fail"); }

4 3010

You are given a string which contains some special characters. You also have set of special characters. You are given other string (call it as pattern string). Your job is to write a program to replace each special characters in given string by pattern string. You are not allowed to create new resulting string. You need to allocate some new memory to given existing string but constraint is you can only allocate memory one time. Allocate memory exactly what you need not more not less.

Microsoft,

2 4906

what is the code for getting the output as * ** ***

Caritor,

5 3544


Post New C Questions






Un-Answered Questions { C }

what are the 10 different models of writing an addition program in C language?

743


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

1214


a c code by using memory allocation for add ,multiply of sprase matrixes

1472


in iso what are the common technological language?

967


please send me the code for multiplying sparse matrix using c

1061






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

785


1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.

938


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

1145


why we wont use '&' sing in aceesing the string using scanf

1086


Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?

1336


4. main() { int c=- -2; printf("c=%d",c); }

601


WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER

803


I need previous papers of CSC.......plz help out by posting them.......

1011


difference between Low, Middle, High Level languages in c ?

915


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

960