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...



Code Snippets Interview Questions
Questions Answers Views Company eMail

main(){ char a[100]; a[0]='a';a[1]]='b';a[2]='c';a[4]='d'; abc(a); } abc(char a[]){ a++; printf("%c",*a); a++; printf("%c",*a); }

2 7400

func(a,b) int a,b; { return( a= (a==b) ); } main() { int process(),func(); printf("The value of process is %d !\n ",process(func,3,6)); } process(pf,val1,val2) int (*pf) (); int val1,val2; { return((*pf) (val1,val2)); }

Satyam,

1 10359

void main() { static int i=5; if(--i){ main(); printf("%d ",i); } }

1 6449

void main() { int k=ret(sizeof(float)); printf("\n here value is %d",++k); } int ret(int ret) { ret += 2.5; return(ret); }

1 12106

void main() { char a[]="12345\0"; int i=strlen(a); printf("here in 3 %d\n",++i); }

3 22373

void main() { unsigned giveit=-1; int gotit; printf("%u ",++giveit); printf("%u \n",gotit=--giveit); }

1 9809

void main() { int i; char a[]="\0"; if(printf("%s\n",a)) printf("Ok here \n"); else printf("Forget it\n"); }

Accenture,

3 17146

void main() { void *v; int integer=2; int *i=&integer; v=i; printf("%d",(int*)*v); }

Honeywell,

1 8102

void main() { int i=i++,j=j++,k=k++; printf(“%d%d%d”,i,j,k); }

1 8627

void main() { static int i=i++, j=j++, k=k++; printf(“i = %d j = %d k = %d”, i, j, k); }

3 16229

void main() { while(1){ if(printf("%d",printf("%d"))) break; else continue; } }

1 15528

main() { unsigned int i=10; while(i-->=0) printf("%u ",i); }

HP,

2 18708

#include main() { int x,y=2,z,a; if(x=y%2) z=2; a=2; printf("%d %d ",z,x); }

1 5507

main() { int a[10]; printf("%d",*a+1-*a+3); }

1 5751

#define prod(a,b) a*b main() { int x=3,y=4; printf("%d",prod(x+2,y-1)); }

1 16133


Un-Answered Questions { Code Snippets }

why nlogn is the lower limit of any sort algorithm?

2795


can we pass variable in array to traverse it?

2364


How a web page can communicate with a web server while a user type characters in an input field.

1060


What is the functionality of GetWindowText?

558


How to access oralce10g data from server to client in LAN?

1374


how to track links visited in google using iframes

2691


Beautiful is for 012345678 9 and a code for similar word containing the same alphabets

6202


Write a program that implements a date class containing day, month and year as data members. Implement assignment operator and copy constructor in this class.

836


Can you write a program to find the average of numbers in a list in python?

796


how to create a Custom Scrollbar

2495


How can a procedure fetch data from FTP? I need a general code for this..

1365


What is data _null_? ,Explain with code when u need to use it in data step programming ?

3297


Code for Document Validation in XML.NET?

2333


We need to write the function to check the password entered is correct or not based on the following conditions.. a) It must have atleast one lower case character and one digit. b)It must not have any Upper case characters and any special characters c) length should be b/w 5-12. d) It should not have any same immediate patterns like abcanan1 : not acceptable coz of an an pattern abc11se: not acceptable, coz of pattern 11 123sd123 : acceptable, as not immediate pattern adfasdsdf : not acceptable, as no digits Aasdfasd12: not acceptable, as have uppercase character

4413


3. Program to find the Sum of give series. a. (1)+(1+2)+(1+2+3)+(1+2+3+4)+……………………………….. b. 1/1+1/9+1/25+1/49+……………...

4880