ALLInterview.com :: Home Page
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   Errors
   Testimonials Refer this Site  Refer This Site to Your Friends  Site Map  Contact Us      
   
 
 Categories >> Code Snippets
 
  Programming Code (796)   Scripts_Markup Code (195)
 
Suggest New Category 
 


 

Question Asked @ Answers Views     Select
union u { union u { int i; int j; }a[10]; int b[10]; }u; main() { printf("\n%d", sizeof(u)); printf(" %d", sizeof(u.a)); // printf("%d", sizeof(u.a[4].i)); } a. 4, 4, 4 b. 40, 4, 4 c. 1, 100, 1 d. 40 400 4 hcl   2  1924
union u { struct st { int i : 4; int j : 4; int k : 4; int l; }st; int i; }u; main() { u.i = 100; printf("%d, %d, %d",u.i, u.st.i, u.st.l); } a. 4, 4, 0 b. 0, 0, 0 c. 100, 4, 0 d. 40, 4, 0 hcl   1  2081
#define SQR(x) x * x main() { printf("%d", 225/SQR(15)); } a. 1 b. 225 c. 15 d. none of the above hcl   3  3951
main() { int i = 0xff ; printf("\n%d", i<<2); } a. 4 b. 512 c. 1020 d. 1024 hcl   2  5520
main() { int i; float *pf; pf = (float *)&i; *pf = 100.00; printf("\n %d", i); } a. Runtime error. b. 100 c. Some Integer not 100 d. None of the above hcl   2  3037
main(int argc, char *argv[]) { (main && argc) ? main(argc-1, NULL) : return 0; } a. Runtime error. b. Compile error. Illegal syntax c. Gets into Infinite loop d. None of the above hcl   4  3907
main() { int i; clrscr(); printf("%d", &i)+1; scanf("%d", i)-1; } a. Runtime error. b. Runtime error. Access violation. c. Compile error. Illegal syntax d. None of the above hcl   1  3378
write a program for area of circumference of shapes    0  593
find simple interest & compund interest    2  3812
Hi, My name is satish kumar dega I am learing QTP I have one doubt. I need to count the radio buttons in a particular page. In QTP how to write descriptive progming and how I will get all the radiobuttons count.In a paricular page having two WebRadioGroups under each group having 3 radiobuttons.I need to count all the radio buttons could you plz help me regarding this one    0  1036
A Binary no. is given, we hav to find it's decimal equivalent. microsoft   2  3150
Display Pattern: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 …    2  7105
Perform the functionality of 2-D array through 1-D array and in it the functions to be performed were: (1) Display the array in 2-D format (2) Display a particular element (3) Display a particular row (4) Display a particular column nagarro   1  2776
A suduco given & u hv 2 check if it is incomplete(blanks left),or correct or incorrect    0  845
U hv to enter a range from a and b and search hw many no. of times a pattern n. occurs between the range a and b. Eg :i/p:enter range :0 100 Enter pattern: 13 o/p: the no. times 13 occurred betwwn 0 to 100:1 Eg :i/p:enter range :100 1000 Enter pattern: 13 o/p: the no. times 13 occurred betwwn 100 to 1000: (in this 13,113,131,132,133…139,213,313,…913 all these will be counted)    0  621
E-Mail New Answers        Answer Selected Questions       
Prev    1   ... 6   ... 11   ... 16   ... 21   ... 26   ... 31   ... 36    44   [45]    46  ... 51   ... 56   ... 61   ... 66    Next
 
 
 
 
 
Un-Answered Questions
 
 Question Views   Select
 
Code for Two Classes for Doing Gzip in Memory? 1067
code to detect versions of different browsers like internet explorer, netscape, mozilla, opera etc 603
Please give me the vb.net codes for deadlock(like detecting,& avoiding) in any version of vb.net. 1363
write a code that user can choose/alter Body Text Size 654
What is the functionality of EnumWindows? 10
what is main difference between array_push and array_pop? 1438
Write a function that takes an array of integers and efficiently calculates and returns the Least Common Multiply in python. 8
how to pass data between pages using Cookies 646
maximizing the main window 617
Write a function to efficiently convert a floating point number to a rational number. For example, given 0.125 return "1/8" 8
write a program that creates a sequenced array of numbers starting with 1 and alternately add 1 and then 2 to create the text number in the series , as shown below. 1,33,4,6,7,9,............147,148,150 Then , using a binary search , searches the array 100 times using randomly generated targets in the range of 1 to 150 1884
how to remove or delete multiple selected items from listbox in on button click in asp? 19
How to update and insert from datagridview at run time in excel database? 1531
Code for IP Address Comparison and Conversion in C#? 2314
Code for Presenting Parent/Child Data in a Data Grid Row? 919
E-Mail New Answers        Answer Selected Questions