- Hello
- H
- Some address will be printed
- None of these.
Answer: Option 2 Compiler Error : Type mismatch in redeclaration of function display As the function display() is not defined before use, compiler will assume the return type of the function...
1 Answers 9 viewsAnswer: Option 2 Since the ASCII value of G is 71 and the garbage value if A is 65 and hence the difference is 6.
1 Answers 2 viewsAnswer: Option 1 The define() function defines a constant.
1 Answers 1 viewsAnswer: Option 4 \\n - newline - printf("\\nab"); - Prints 'ab' \\b - backspace - printf("\\bsi"); - firstly '\\b' removes 'b' from 'ab ' and then prints 'si'. So after execution...
1 Answers 2 viewsAnswer: Option 2 As the first option is matching, the cases are evaluated till the break statement is encountered or end of switch statement is encountered.
1 Answers 4 viewsAnswer: Option 3 Function names are just addresses (just like array names are addresses). main() is also a function. So the address of function main will be printed. %p in printf...
1 Answers 4 viewsAnswer: Option 2 The sizeof() operator gives the number of bytes taken by its operand. p is a character pointer, which needs one byte for storing its value (a character)....
1 Answers 1 viewsAnswer: Option 1 # is a single line comment.
1 Answers 1 viewsAnswer: Option 1 Since there is a semi-colon in between $hello and $bye, the line ends at $hello. However $bye would have printed if a echo was present before “$bye”.
1 Answers 1 viewsAnswer: Option 3 To delete the session variable ‘username’ we use the unset() function.
1 Answers 1 views