23451. Is the following statement a declaration or definition? extern int i;
23452. The first no confidence motion was moved in the Lok Sabha after independence was in the year
23453. Identify which of the following are declarations 1 : extern int x; 2 : float square ( float x ) { ... } 3 : double pow(double, double);
23454. Which of the following animals has the longest life span?
23455. In the following program where is the variable a getting defined and where it is getting declared? #include<stdio.h> int main() { extern int a; printf("%d\n", a); return 0; } int a=20;
23456. Who was the freedom fighter of East Timor?
23457. When we mention the prototype of a function?
23458. Life Insurance Corporation (LIC) is an example of
23459. What is the output of the program given below ? #include<stdio.h> int main() { enum status { pass, fail, atkt}; enum status stud1, stud2, stud3; stud1 = pass; stud2 = atkt; stud3 = fail; printf("%d, %d, %d\n", stud1, stud2, stud3); return 0; }
23460. Silicon is a
23461. What will be the output of the program in 16 bit platform (Turbo C under DOS)? #include<stdio.h> int main() { extern int i; i = 20; printf("%d\n", sizeof(i)); return 0; }
23462. He is a man of great ability. (Change into a complex sentence)
23463. What is the output of the program? #include<stdio.h> int main() { extern int a; printf("%d\n", a); return 0; } int a=20;
23464. Sakas were finally overthrown by
23465. What is the output of the program in Turbo C (in DOS 16-bit OS)? #include<stdio.h> int main() { char s1; char far s2; char huge s3; printf("%d, %d, %d\n", sizeof(s1), sizeof(s2), sizeof(s3)); return 0; }
23466. Who is the first malayali woman won the Arjuna Award?
23467. What is the output of the program #include<stdio.h> int main() { struct emp { char name[20]; int age; float sal; }; struct emp e = {"Tiger"}; printf("%d, %f\n", e.age, e.sal); return 0; }
23468. Bank rate is the rate of interest
23469. What will be the output of the program? #include<stdio.h> int X=40; int main() { int X=20; printf("%d\n", X); return 0; }
23470. What is the output of the program #include<stdio.h> int main() { int x = 10, y = 20, z = 5, i; i = x < y < z; printf("%d\n", i); return 0; }
23471. What is the output of the program #include<stdio.h> int main() { extern int fun(float); int a; a = fun(3.14); printf("%d\n", a); return 0; } int fun(int aa) { return (int)++aa; }
23472. What is the output of the program #include<stdio.h> int main() { int a[5] = {2, 3}; printf("%d, %d, %d\n", a[2], a[3], a[4]); return 0; }
23473. What is the output of the program? #include<stdio.h> int main() { union a { int i; char ch[2]; }; union a u; u.ch[0] = 3; u.ch[1] = 2; printf("%d, %d, %d\n", u.ch[0], u.ch[1], u.i); return 0; }
23474. In the following program how long will the for loop get executed? #include<stdio.h> int main() { int i=5; for(;scanf("%s", &i); printf("%d\n", i)); return 0; }
23475. What will be the output of the program? #include<stdio.h> int main() { int X=40; { int X=20; printf("%d ", X); } printf("%d\n", X); return 0; }
23476. Point out the error in the following program (if it is compiled with Turbo C compiler). #include<stdio.h> int main() { display(); return 0; } void display() { printf("IndiaBIX.com"); }
23477. Point out the error in the following program. #include<stdio.h> int main() { void v = 0; printf("%d", v); return 0; }
23478. Point out the error in the following program. #include<stdio.h> struct emp { char name[20]; int age; }; int main() { emp int xx; int a; printf("%d\n", &a); return 0; }
23479. Which of the following is correct about err used in the declaration given below? typedef enum error { warning, test, exception } err;
23480. Point out the error in the following program. #include<stdio.h> int main() { int (p)() = fun; (p)(); return 0; } int fun() { printf("IndiaBix.com\n"); return 0; }
23481. Which of the declaration is correct?
23482. Which of the following operations are INCORRECT?
23483. Which of the following correctly represents a long double constant?
23484. Which of the structure is incorrcet? 1 : struct aa { int a; float b; }; 2 : struct aa { int a; float b; struct aa var; }; 3 : struct aa { int a; float b; struct aa var; };
23485. Which of the structure is correct? 1 : struct book { char name[10]; float price; int pages; }; 2 : struct aa { char name[10]; float price; int pages; } 3 : struct aa { char name[10]; float price; int pages; }
23486. 1 : typedef long a;extern int a c; 2 : typedef long a;extern a int c; 3 : typedef long a;extern a c;
23487. A long double can be used if range of a double is not enough to accommodate a real number.
23488. A float is 4 bytes wide, whereas a double is 8 bytes wide.
23489. If the definition of the external variable occurs in the source file before its use in a particular function, then there is no need for an extern declaration in the function.
23490. Size of short integer and long integer can be verified using the sizeof() operator.
23491. Range of double is -1.7e-38 to 1.7e+38 (in 16 bit platform - Turbo C under DOS)
23492. Size of short integer and long integer would vary from one platform to another.
23493. Range of float id -2.25e+308 to 2.25e+308
23494. Is there any difference in the following declarations? int myfun(int arr[]);int myfun(arr[20]);
23495. Suppose a program is divided into three files f1, f2 and f3, and a variable is defined in the file f1 but used in files f2 and f3. In such a case would we need the extern declaration for the variables in the files f2 and f3?
23496. Global variable are available to all functions. Does there exist a mechanism by way of which it available to some and not to others.
23497. Is it true that a global variable may have several declarations, but only one definition?
23498. Is it true that a function may have several declarations, but only one definition?
23499. Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ?
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use