C Interview Questions
Questions Answers Views Company eMail

what is the difference between #include and #include "stdio.h" ?

3 5479

Why preprocessor should come before source code?

2 2257

What is a far pointer?What is the utility?

4 2746




Difference between null pointer and dangling pointer?

Wipro, GE,

7 14690

1. Write the function int countchtr(char string[ ], int ch); which returns the number of times the character ch appears in the string. Example, the call countchtr(“She lives in NEWYORK”, ‘e’) would return 3.

4 3029

what are the languages used in c#?

Infosys,

3 2708

write an algorithm to get a sentence and reverse it in the following format: input : I am here opuput: Here Am I note: first letter of every word is capiatlised

3 3258

write a 'c' program to sum the number of integer values

8 10774




How to convert a binary number to Hexa decimal number?? (Note:Do not convert it into binary and to Hexadecimal)

Subex, iLantus,

1 5215

Find the middle node in the linked list?? (Note:Do not use for loop, count and count/2)

Subex,

6 8389

hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm

TCS,

850

I use turbo C which allocates 2 bytes for integers and 4 bytes for long. I tried to declare array of size 500000 of long type using the following code... long *arr; arr=(long *)(malloc)(500000 * sizeof(long)); It gives a warning that "Conversion may lose significant digits in function main"... And the resulting array size was very less around 8400 as compared to 500000. Any suggestions will be welcomed....

2 3171

Total of how many functions are available in c?

3 2935

size maximum allocated by calloc()

DELL,

3 5529

we all know about the function overloading concept used in C++ and we all learnt abt that.... but that concept is already came in C in a very smaller propotion ... my question is IN WHICH CONCEPT THERE IS A USE OF FUNCTION OVERLOADING IS USED in C language?????????????

Google,

4 4096


Post New C Questions






Un-Answered Questions { C }

hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..

658


Can you think of a logic behind the game minesweeper.

879


GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA

655


write a c program for swapping two strings using pointer

1261


.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }

126






c language interview questions & answer

680


write a progrmm in c language take user interface generate table using for loop?

783


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

1985


Hi can anyone tell what is a start up code?

836


difference between native and cross compilers

833


how to construct a simulator keeping the logical boolean gates in c

788


what is stack , heap ,code segment,and data segment

1458


Linked list is a Linear or non linear explain if linear how it working as a non linear data structures

978


Sir i need notes for structure,functions,pointers in c language can you help me please

1210


C program to find all possible outcomes of a dice?

1137