C Interview Questions
Questions Answers Views Company eMail

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

4 5449

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

Honeywell, TCS,

3 7218

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

Wipro,

4163

program to print upper & lower triangle of a matrix

TCS,

2 17555

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 5426

What is Memory leakage ?

HCL,

2 4208

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 3349

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

4 5263

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

2 3880

how c source file in converted to exe file

KPIT,

5 15467

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

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

DRDO,

3 4550

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

IBM,

13 39401

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 4906


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

2 4354


Post New C Questions

Un-Answered Questions { C }

we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?

792


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.

1770


What does *p++ do? What does it point to?

604


What is extern storage class in c?

502


How do you define CONSTANT in C?

640






What are the advantage of c language?

540


Find duplicates in a file containing 6 digit number (like uid) in O (n) time.

2582


Why is C language being considered a middle level language?

637


Why main function is special give two reasons?

927


Why does not c have an exponentiation operator?

618


Why we use conio h in c?

574


What is include directive in c?

631


Can we declare a function inside a function in c?

569


What is the best organizational structure?

627


What is the best way of making my program efficient?

555