In HTML, ___________ tag is used to construct drop-down list boxes and scrolling list boxes.
Two main measures for the efficiency of an algorithm are
What value does read() return when it has reached the end of a file?
All variables in PHP start with which symbol?
SNOBOL is mainly used for
A function cannot be defined inside another function
What is math.floor(3.6)?
We want to round off x, a Float to an Int value. The correct way to do so would be
In programming, repeating some statements is usually called ?
Methods declared as what cannot be overriden?
The output of the code below is
#include <stdio.h> void main() { int i = 0, k; if ( i == 0 ) goto label; for ( k = 0;k < 3; k++ ) { printf( "hin" ); label: k = printf( "%03d", i ); } }
What will be output of following program ?
#includeint main()
{
int a = 10;void *p = &a;int *ptr = p;printf("%u",*ptr);return 0;
}
What will output when you compile and run the following code?#include <stdio.h>struct student{
int roll;int cgpa;int sgpa[8];
};
void main(){
struct student s = { 12,8,7,2,5,9 };int *ptr;ptr = (int *)&s;clrscr();printf( "%d", *(ptr+3) );getch();
What will be output when you will execute following c code?#include <stdio.h>void main()
{ switch(2)
{ case 1L:printf("No"); case 2L:printf("%s","I"); goto Love; case 3L:printf("Please"); case 4L:Love:printf("Hi"); } }
What would be the output of the following program ?
main()
const int x = 5;
int *ptrx;
ptrx = &x;
*ptr = 10;
printf ("%d", x);
What will be output of following program?#include <stdio.h>int main()
{ void (*p)(); int (*q)(); int (*r)(); p = clrscr; q = getch; r = puts; (*p)(); (*r)("www.sawaal.com"); (*q)(); return 0;}
What is the output of this C code?
#include <stdio.h> void main() { int x = 97; char y = x; printf("%cn", y); }
If the following program (myprog) is run from the command line as
myprog 1 2 3
what would be the output?
main(int argc, char *argv[])
int i, j = 0;
for (i = 0; i < argc ; i++)
j = j + atoi ( argv[i]);
printf ("%d", j);
Which of the following is true?
public abstract interface Frobnicate { public void twiddle(String s); }
Which is a correct class?
Please disable the adBlock and continue. Thank you.