C Interview Questions
Questions Answers Views Company eMail

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

4 3259

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

Honeywell, TCS,

3 5450

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

Wipro,

3459




program to print upper & lower triangle of a matrix

TCS,

2 15115

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 2768

What is Memory leakage ?

HCL,

2 2549

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 2390

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

4 2970




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

2 2244

how c source file in converted to exe file

KPIT,

5 10935

#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 8502

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

DRDO,

3 2751

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

IBM,

13 28913

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 2896


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

2 2430


Post New C Questions






Un-Answered Questions { C }

the question is that what you have been doing all these periods (one year gap)

939


In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)

833


provide an example of the Group by clause, when would you use this clause

943


#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??

794


int i=10; printf("%d %d %d", i, i=20, i);

217






You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.

1020


void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply

807


In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.

640


WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..

817


Without Computer networks, Computers will be half the use. Comment.

1002


difference between object file and executable file

4275


why return type of main is not necessary in linux

968


write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1

1244


write a program to create a sparse matrix using dynamic memory allocation.

3529


write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...

700