C Interview Questions
Questions Answers Views Company eMail

What is floating point exception error? And what are different types of errors occur during compile time and run time? why they occur?

1 3105

Write a program to remove the C comments(/* */) and C++ comments(//) from a file. The file should be declared in command line.

Persistent, Subex,

4 50412

write a addition of two no. program with out using printf,scanf,puts .

4 12827

what is differnence b/w macro & functions

1 3267

Can u return two values using return keyword? If yes, how? If no, why?

7 7839

program to find the ASCII value of a number

8 21241

please send me papers for Dy. manager IT , PNB. it would be a great help for me.

1953

#define d 10+10 main() { printf("%d",d*d); }

6 16725

What is meaning of tree

1546

to find the program of matrix multiplication using arrays

Bhel,

6 19346

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

1461

write a programe returns the number of times the character appears in the string

2 3769

Write a program that takes three variables(a,b,c) in as separate parameters and rotates the values stored so that value a goes to b,b,to c and c to a

7 25413

1. Duplicate the even numbers. -1 Sample I/O Array1:- 4,2,24,3,22 Updated Array:- 4,4,2,2,24,24,3,22,22 2. Reverse the array in a region - 1 Sample I/O Array1:- 4,2,24,3,22,41,21 Enter Region:- 2,5 Update Array:-4,41,22,3,24,2,21 3. Store first the even digits in an array and then odd digits in same array -2 Sample I/O Array1:- 4,2,24,3,22,41,21 Array 2:- 4,2,2,4,2,2,4,2,3,1,1 4. Store the count of the digits in all numbers in an array and print the count. -2 Sample I/O Array1:- 4,2,9,3,7,41,28 Array 2:- 0,1,1,1,2,0,0,1,1,1 1-1;2-1;3-1;4-2;7-1;8-1;9-1 5. Store all palindrome numbers in to another array -2 Sample I/O Array1:- 4,22,9,313,7,141,28 Array 2:- 4,22,9,313,141 6. Arrange the array in such a way that odd numbers come first and then even numbers -1 Sample I/O Array1:- 4,22,9,313,7,141,28 Update Array1:- 9,313,7,141,4,22,28 7. Store into another array by inserting it in the right place - 2 Sample I/O Array1:- 4,22,9,313,7,141,28 Array2:- 4 /4,22 /4,9,22 /4,9,22 ,313 /4,7,9,22 ,313 /4,7,9,22 ,141,313 / 4,7,9,22,28 ,141,313 8. Merge two sorted arrays in a sorted fashion - 3 Sample I/O Array 1:- 3,6,7,9,11,16 Array 2:- 1,2,5,7,20 Array 3:- 1,2,3,5,6,7,9,11,16,20 9. Upadte the array so that an array element is followed by its revere - 1 Sample I/O Array 1:- 13,63,74,9,11,16 Updated Array 1:- 13,31,63,36,74,47,9,9,11,11,16,16 10.Spread the digits of the array in the same array. -1 Sample I/O Array 1:- 13,63,74,9,11,16 Updated Array 1:-1,3,6,3,74,9,1,1,1,6 11.Shift the boundary of array to have only 2 digit numbers. Sample I/O Array 1:- 139,643,74,9,101,126 Updated Array 1:- 13,96,43,74,91,11,26 12.Print the largest occuring digit in an array of N numbers. Sample I/O Array 1:- 13,63,74,9,11,16 1 occurs most.

Intel,

2 3754

Read N characters in to an array . Use functions to do all problems and pass the address of array to function. 1. Print only the alphabets . If in upper case print in lower case vice versa.

1 3580


Post New C Questions

Un-Answered Questions { C }

Why is sizeof () an operator and not a function?

586


What is the time and space complexities of merge sort and when is it preferred over quick sort?

676


which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above

1138


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

1699


What is an operator?

656






What is methods in c?

640


#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }

666


Write a simple code fragment that will check if a number is positive or negative.

708


Which are low level languages?

636


Can the curly brackets { } be used to enclose a single line of code?

715


Explain argument and its types.

604


What is size of union in c?

578


What does c mean in standard form?

597


a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above

684


What functions are used for dynamic memory allocation in c language?

600