C Interview Questions
Questions Answers Views Company eMail

how to find the kth smallest element in the given list of array elemnts.

Silicon,

8 18448

how to sort two array of characters and make a new array of characters.

Accenture,

1 3669

what is difference between ++(*p) and (*p)++

IBM, HCL, Accenture,

17 12529




what is difference between array of characters and string

Nest, Accenture,

18 36594

char ch=10;printf("%d",ch);what is the output

Accenture,

14 12994

char ch="{'H','I',0};printf("%s",ch);what is output

Accenture,

9 6081

which one is not preprocessor directive a)#if b)#elif c)#undef d)#pragma

Wipro, Infosys, Accenture, TCS,

16 13129

what will be the output: main(){char ch;int a=10;printf("%d",ch);}

TCS, Accenture, Wipro,

36 15322




value = 0xabcd; for (loop = 1; (value >> 1) & 1 | loop & 1; loop++) { foo(); if (loop & 1) value >>= 1; } how many times is foo() executed?

Google,

6 7691

class foo { public: static int func(const char*& p) const; }; This is illegal, why?

Google,

8 10700

how to estimate the disk access time? e.g. the time between read one byte and another byte in the disk.

Google,

3 9121

what is the hexidecimal number of 4100?

Google,

16 13545

give one ip, find out which contry

Google,

4 9231

What is C language Terminator?

TCS,

15 20062

program to find a smallest number in an array

Sony, Microsoft,

15 29691


Post New C Questions






Un-Answered Questions { C }

How to write a code for reverse of string without using string functions?

841


write a program to rearrange the array such way that all even elements should come first and next come odd

980


application attempts to perform an operation?

728


what are bit fields? What is the use of bit fields in a structure declaration?

770


Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.

1042






why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???

713


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.

468


1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures

2029


can any one provide me the notes of data structure for ignou cs-62 paper

988


Give basis knowledge of web designing ...

850


I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.

743


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

1068


what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555

1564


hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell

882


p*=(++q)++*--p when p=q=1 while(q<=6)

506