Tag: technology
Questions Related to technology
-
scanf("%.8s", name);
-
scanf("%8s", name);
-
scanf("%8c", name);
-
scanf("%s", name);
-
delete ptr2; (within if loop) AND delete ptr1;
-
delete ptr1; AND delete ptr2; (outside if loop )
-
delete ptr2; (within if loop)
-
delete ptr2; (outside if loop )
-
4 - it is the size of the pointer
-
5 - it is the number of characters in the string that the pointer points to
-
4 - it is the size when 32000 is stored as integer
-
1 - it is the size of a character variable
-
Program works when there is only 1 argument with program
-
Program works when there are 3 arguments with program
-
Program works when there are 4 arguments with program
-
Program never executes successfully
-
A run-time error is encountered and the program aborts
-
unsigned int variables cannot store the sign (+ or -) of the number. The sign is discarded and only the number is stored in i
-
A large positive number will be stored in i
-
Unsigned int variables cannot store signed numbers. Hence in this program i will contain garbage values.
-
1289945278
-
garbage. Integer j cannot hold such large values
-
9879879870
-
Program is aborted
-
Shell environment variables
-
Data received via encrypted network channels
-
argv[0] can only have either null or program name
-
no external input must be trusted
-
delete j;
-
realloc j;
-
free j;
-
It need not be deleted
-
DNS Spoofing
-
Command Injection
-
Path Traversal
-
Command Injection AND Path Traversal
-
XSS
-
Arc Injection
-
Buffer Overflow
-
Arc Injection AND Buffer Overflow