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 9164

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

IBM, TCS, UGC NET, Wipro,

29 51442

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

1 4450

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

1 5833

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 9122

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

1 12062

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

2 18361

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

1 6956

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

1 6040

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 6122

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

CSC,

1 13084

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

1 6589

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

2 13923

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

Adobe, CSC,

2 25695

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

3 5936


Un-Answered Questions { Code Snippets }

Write a program to find sum of the digits of a number in python?

812


how to copy form data between different pages

2248


What is XML DOM Document?

552


how to take time as input in the format (12:02:13) from user so that controls remains between these columns?

2230


For printing a message we use System.out.println in normal programs. We use String msg="text....."; Can't we use String msg=" " in normal programs and System.out.println("........") in applets. Please answer this question?

2597


Write a function that takes an array of integers and returns that array rotated by N positions. For example, if N=2, given the input array [1, 2, 3, 4, 5, 6] the function should return [5, 6, 1, 2, 3, 4]

2190


create Drop-Down Navigation Menus

2114


Hi All, Do anyone have a solution/script for Uploading the Excel file in Local drive to QC Resources folder..?? TIA Dwaraka.

1590


Given a string=”me,I,myself”; .Using javascript only create an array out of this string and then send a POST request to the url “record.php” without reloading the page. The post key parameters should be n1,n2 and n3 respectively.

2682


Write a script to delete all the files in a folder except one desired file.

1293


What is the functionality of SendMessage?

746


Is there any way to open notepad within php?

2044


What are the benefits of XML?

559


How can manage theme in php?

2378


Write a Program to find the sum of digits of a given number until the sum becomes a single digit.

818