C Interview Questions
Questions Answers Views Company eMail

What is diffrance between declaration and defination of a variable or function

4 3194

how we can say java is platform independent, while we require JVM for that particular Operating System?

Honeywell, TCS,

3 5380

Write a c program to build a heap method using Pointer to function and pointer to structure ?

Wipro,

3426




program to print upper & lower triangle of a matrix

TCS,

2 14854

can please someone teach me how to create this program using while statement.. this is the output should look like 0 2 4 6 8 10 -thanks.. :) need it asap...

7 2716

What is Memory leakage ?

HCL,

2 2517

My teacher ask to make a program that can: Insert record in front Insert record at the end Insert in between Search node record Delete record in front Delete record at the end Delete record in between Using Data structure Linked List type. But I'm really confused about the codes and I can't go through. Please help Thanks in advance. Also here is my unfinished code if someone can make changes it will be more good.

1 2339

write a c/c++ program that takes a 5 digit number and calculates 2 power that number and prints it?

4 2893




can u write a program in C, which does not use = (eqaul)or any arithmatic assignment(like -=,+=,*= etc) operator to swap to number?

2 2194

how c source file in converted to exe file

KPIT,

5 10737

#include #include # define swap(a,b) temp=a; a=b; b=temp; void main( ) { int i, j, temp; i=5; j=10; temp=0; if( i > j) swap( i, j ); printf( "%d %d %d", i, j, temp); }

Burning Glass,

9 8305

how write a addtion of two single dimensional array using of pointer in c language?

DRDO,

3 2702

Write a program to print prime nums from 1-20 using c programing?

IBM,

13 28408

Sir,please help me out with the output of this programme:- #include #include void main() { int a=18,b=12,i; for(i=a 4 2857


#include #include void main() { char ch='\356'; printf("%d",ch); } o/p=-18 why?plz.explain

2 2336


Post New C Questions






Un-Answered Questions { C }

in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.

4276


how to find anagram without using string functions using only loops in c programming

1897


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

862


Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)

4372


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

742






write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.

10236


Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor

2079


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

479


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

672


a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f

808


if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.

3270


how logic is used

728


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

1192


#include int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20

212


#include #include struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.

2428