What would be the output of the following program? main() { char *str[] = {"Frogs","Do","Not","Die.","They",'Croak!"}; printf("%d %d",sizeof(str),sizeoof(str[0])); }
6 5
6 1
12 2
5 4
For quick reference help with MS-DOS commands in any of the versions of MS-DOS or Windows you can also use _____ after a command
/?
-help
/help
?
What would be the output of the following program? main() { int a[5] = {2,3};; printf("\n%d %d %d", a[2],a[3],a[4]); }
Garbage values
2 3 3
3 2 2
0 0 0
_____ is a powerful version of the copy command with additional features has the capability of moving files, directories and even whole drives from one destination to another.
MOVE
MV
XCOPY
ROBOCOPY
_____ is the executable file used to install windows from the .cab files or from the cdrom.
INSTALL
ACMEBOOT
BOOT
SETUP
What would be the output of the following program? main() { static int a[20]; int i =0 ; a[i]=i++; printf("\n%d %d %d",a[0],a[1],i); }
1 0 1
0 0 1
1 2 3
Compile error
The maximum combined length of the command line arguments including the spaces between adjacent arguments is
128 characters
256 characters
67 characters
It may vary from one operating system to another
_____ is used to "clear out" the Master Boot Record which is typically corrupted by viruses.
FDISK /MBR
FIXMBR
SFC /SCANNOW
CHKDSK -F
_____ displays or changes file attributes like read, archive, system and hidden.
TYPE
CHMOD
ATTRIB
SYSTYPE
What would be the output of the following program? main() { unsigned char i = 0x80; printf("\n%d", i<<1); }
0
256
100
None of the above