C Interview Questions
Questions Answers Views Company eMail

WAP – represent a char in binary format

Wipro, Motorola,

4 4445

what is memory leak?

3 4136

what is the difference between and "stdio.h"

Mastek, Kanbay, Invendis, MathWorks,

14 43361




which will be first in c compiling ,linking or compiling ,debugging.

Sonata,

3 5042

Write a program in C to convert date displayed in gregorian to julian date

Wipro, HCL,

1475

difference between memcpy and strcpy

1 10770

What's the best way to declare and define global variables?

7 9460

What does extern mean in a function declaration?

4 32926




How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?

2 7845

What's wrong with "char *p = malloc(10);" ?

4 6695

What is the difference between char a[] = "string"; and char *p = "string"; ?

Adobe, TCS, Honeywell,

14 30101

How do I initialize a pointer to a function?

2 9316

What's the difference between struct x1 { ... }; and typedef struct { ... } x2; ?

3 6564

Can I pass constant values to functions which accept structure arguments?

2 5813

Why doesn't the code "a[i] = i++;" work?

4 8822


Post New C Questions






Un-Answered Questions { C }

how is the examination pattern?

832


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

1019


Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.

801


Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.

2817


How to implement a packet in C

1549






write a program to print data of 5 five students with structures?

835


difference between object file and executable file

4066


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

817


I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.

951


Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc

2867


write a program for the normal snake games find in most of the mobiles.

1079


write a program to copy the string using switch case?

1603


How to delete a node from linked list w/o using collectons?

1330


I need previous papers of CSC.......plz help out by posting them.......

936


Calculate 1*2*3*____*n using recursive function??

733