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

int swap(int *a,int *b) { *a=*a+*b;*b=*a-*b;*a=*a-*b; } main() { int x=10,y=20; swap(&x,&y); printf("x= %d y = %d\n",x,y); }

1 9238

main() { char *p = “ayqm”; printf(“%c”,++*(p++)); }

IBM, TCS, UGC NET, Wipro,

29 52302

main() { int i=5; printf("%d",++i++); }

1 4538

main() { char *p = “ayqm”; char c; c = ++*p++; printf(“%c”,c); }

1 5928

int aaa() {printf(“Hi”);} int bbb(){printf(“hello”);} iny ccc(){printf(“bye”);} main() { int ( * ptr[3]) (); ptr[0] = aaa; ptr[1] = bbb; ptr[2] =ccc; ptr[2](); }

1 9208

main() { int i=5; printf(“%d”,i=++i ==6); }

1 12162

main() { char p[ ]="%d\n"; p[1] = 'c'; printf(p,65); }

2 18494

void ( * abc( int, void ( *def) () ) ) ();

1 7069

main() { while (strcmp(“some”,”some\0”)) printf(“Strings are not equal\n”); }

1 6120

main() { char str1[] = {‘s’,’o’,’m’,’e’}; char str2[] = {‘s’,’o’,’m’,’e’,’\0’}; while (strcmp(str1,str2)) printf(“Strings are not equal\n”); }

1 6201

main() { int i = 3; for (;i++=0;) printf(“%d”,i); }

CSC,

1 13177

void main() { int *mptr, *cptr; mptr = (int*)malloc(sizeof(int)); printf(“%d”,*mptr); int *cptr = (int*)calloc(sizeof(int),1); printf(“%d”,*cptr); }

1 6674

void main() { static int i; while(i<=10) (i>2)?i++:i--; printf(“%d”, i); }

2 14055

main() { int i=10,j=20; j = i, j?(i,j)?i:j:j; printf("%d %d",i,j); }

Adobe, CSC,

2 25834

1. const char *a; 2. char* const a; 3. char const *a; -Differentiate the above declarations.

3 6071


Un-Answered Questions { Code Snippets }

Code for Method of Handling Factorials of Any Size?

2486


plz tell me the exam date for clerks in sbi

2166


write a program in java to solve a system of n-variabled simultaneous equations using the guassian elimination method. let the maximum possible value of n be 100. run the program using hypothetical values for a set of 10- variables simultaneous equations. print out the program, the input equation and the results generated by the program.

4776


Write a python program to find the second largest number in a list?

902


function to combine two or more arrays

2133


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

3758


Write a function that takes an unsorted integer array, and returns a three element subset whose sum is zero.

1660


What is GUID anyway?

593


find out the list of users who have access to all t-codes starts with 'SU'? thanks in advance all.

2325


How to Split Strings with Regex in Managed C++ Applications?

3672


Given a circular list of integers (when you reach the end of the list you come back to the beginning), what is the most efficient algorithm to find the smallest integer in the list? For example: circular_list = [22, 52, 66, 82, 5, 8, 12, 19].

1742


What is CDATA?

622


What is XML Element?

657


Code to Block submission of form by pressing Enter Key

2494


Who is responsible for XML?

606