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 3076

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 50356

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

4 12769

what is differnence b/w macro & functions

1 3245

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

7 7782

program to find the ASCII value of a number

8 21163

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

1933

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

6 16645

What is meaning of tree

1524

to find the program of matrix multiplication using arrays

Bhel,

6 19300

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

1448

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

2 3744

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 25294

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 3723

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 3561


Post New C Questions

Un-Answered Questions { C }

What are comments and how do you insert it in a C program?

726


How can I get the current date or time of day in a c program?

639


How can a process change an environment variable in its caller?

640


how to find binary of number?

3399


Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given

2493






Is c is a middle level language?

581


What is the right type to use for boolean values in c?

570


Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?

607


what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)

1912


What are the keywords in c?

632


Can a file other than a .h file be included with #include?

665


Why is structure padding done in c?

627


How do you generate random numbers in C?

637


why return type of main is not necessary in linux

1686


Compare interpreters and compilers.

628