Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...



Programming Languages Interview Questions
Questions Answers Views Company eMail

identify the in correct expression a.a=b=3=4; b.a=b=c=d=0; float a=int b=3.5; d.int a; float b; a=b=3.5;

TCS,

8 16709

regarding the scope of the varibles;identify the incorrect statement: a.automatic variables are automatically initialised to 0 b.static variables are are automatically initialised to 0 c.the address of a register variable is not accessiable d.static variables cannot be initialised with any expression

TCS,

1 8567

the operator for exponencation is a.** b.^ c.% d.not available

TCS,

5 9222

what is y value of the code if input x=10 y=5; if (x==10) else if(x==9) elae y=8; a.9 b.8 c.6 d.7

TCS,

4 12058

what does the following code do? fn(int n,int p,int r) { static int a=p; switch(n){ case 4:a+=a*r; case 3:a+=a*r; case 2:a+=a*r; case 1:a+=a*r; } } a.computes simple interest for one year b.computes amount on compound interest for 1 to 4 years c.computes simple interest for four year d.computes compound interst for 1 year

TCS,

7 13434

a=0; while(a<5) printf("%d\n",a++); how many times does the loop occurs? a.infinite b.5 c.4 d.6

TCS,

7 16937

how many times does the loop iterated ? for (i=0;i=10;i+=2) printf("Hi\n");

TCS,

9 20642

which of the following go out of the loopo if expn 2 becoming false a.while(expn 1){...if(expn 2)continue;} b.while(!expn 1){if(expn 2)continue;...} c.do{..if(expn 1)continue;..}while(expn 2); d.while(!expn 2){if(expn 1)continue;..}

TCS,

4 9192

pick out the odd one out of the following a.malloc() b.calloc() c.free() d.realloc()

TCS, ZenQ,

2 13083

# define prod(a,b)=a*b main() { int x=2; int y=3; printf("%d",prod(x+2,y-10)); } the output of the program is a.8 b.6 c.7 d.none

Microsoft, TCS,

7 21195

consider the following program sigment int n,sum=1; switch(n) { case 2:sum=sum+2; case 3:sum*=2; break; default:sum=0;} if n=2, what is the value of sum a.0 b.6 c.3 d.none

TCS,

7 15252

the format specified for hexa decimal is a.%d b.%o c.%x d.%u

TCS,

7 11980

find the output of the following program main() { int x=5, *p; p=&x; printf("%d",++*p); }

Amdocs, TCS,

10 27725

consider the following C code main() { int i=3,x; while(i>0) { x=func(i); i--; } int func(int n) { static sum=0; sum=sum+n; return(sum); } the final value of x is

TCS,

4 10678

int *a[5] refers to

TCS,

12 26721


Un-Answered Questions { Programming Languages }

Does wordpress involve coding?

155


How would you use qsort() function to sort an array of structures?

1136


What is an Higher-Order Function (HOF)?

7


Explain the properties and principles of oop.

1042


Please explain what are the main differences between laravel 4 and laravel 5.x?

763


How to get configuration values in laravel?

722


Is activex supported in windows 10?

715


How to Insert a file at the cursor ?

1827


What is pyunit in python?

807


How do you continue when you have to use yii for any application?

3


Tell me do you know why doesn't the following code print the newline properly?

277


why we wont use '&' sing in aceesing the string using scanf

2383


How to create an About Box in Delphi or C++ Builder?

2504


How to serve sites with tls on valet?

727


which type of aspect you want from the student.

2177