GeekInterview.com
Answered Questions

Header file

Asked By: sandip06 | Asked On: Nov 8th, 2008

Why should we use header file?

Answered by: vigneshwaransankaran on: Sep 9th, 2009

#include<stdio.h> #include<conio.h> main() { int a,b,c,d; clrscr(); d=0; printf("enter a number"); scanf("%d",&a); c=a; while(a>0) b=a%10; d=d+(b*b*b...

Answered by: rkanna on: Dec 22nd, 2008

for example...we should include the header file (Ex: #include<stdio.h>) before the main function. because if we are going to use following function in our program we should  inclu...

C interrupts

Asked By: brijux | Asked On: Jul 6th, 2008

How are interrupts executed in c? Where are interrupts stored in the memory? What actually occurs when interrupts are encountered?

Answered by: rkanna on: Dec 26th, 2008

When ever interrupt will occurs (ex: press keypoard or etc...) while excuting C programming the control stop execution and pushed current data in stack and switch to interrupt handler and then ca...

Short int and int

Asked By: chaitanyawithu | Asked On: Mar 26th, 2008

What is the difference between short int and int?

Answered by: jbode on: Feb 11th, 2012

The general idea is that short "always" represents a 16-bit integer, whereas int represents whatever the native word size is for that particular architecture (16- or 32-bit). "Always" is in scare quo...

Answered by: sumit on: Feb 5th, 2012

Sorry to say that actually in most of C compiler short int is also of 16 bit and they are equivalent to each other.

Interview Question

 Ask Interview Question?

 

Career Counselling

 Have Career Question?

 Ask Chandra

 Ask Only Career questions.

Follow us: