C Interview Questions

find a number whether it is even or odd without using any control structures and relational operators?

16797

program for validity of triangle from 3 side

4756

can we print any string in c language without using semicolon(;)(terminator) in whole program.

11370

HCL,

1276

what is const volatile?

2496

convert 12345 to 54321 withoutusing strig

4790

simple c program for 12345 convert 54321 with out using string

TCS,

13022

could u able to tell about suresoft technical session

3153

WRITE A PROGRAM IN C TO MULTIPLY TWO 2-D ARRAYS

15095

do ne body have any idea about the salary for the we r going to have interview. yup .. u got it right ..i m talking abt NIC.

1719

How to write a code for random pick from 1-1000 numbers? The output should contain the 10 numbers from the range 1-1000 which should pick randomly, ie ,for each time we run the code we should get different outputs.

13197

let's take a code struct FAQ { int a; char b; float c; double d; int a[10]; }*temp; now explain me how the memory will be allocated for the structure FAQ and what address will be in the structure pointer (temp)....................

6206

which type of question asked from c / c++ in interview.

3456

Is it possible to create recycle bin in mobiles?

3035

Determine if a number is a power of 2 at O(1).

2737

‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.

1186

write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

1079

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

851

program to convert a integer to string in c language'

1138

using only #include and #include Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string. Sample Test: Enter a string: madam madam is a palindrome. Enter a string: 09023 09023 is not a palindrome.

467

Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

954

i want to know the procedure of qualcomm for getting a job through offcampus

1224

What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.

1067

stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.

1055

I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.

1152

write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

1487

how could explain about job profile

730

I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...

8360

char *p="name"; printf(p);

677

If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402

1934