Select the correct option to test your answer:
More Computer Questions
What will be the output of the following C++ code? #include <iostream> using namespace std; void square (int *x) { *x = (*x + 1) * (*x); } int main ( ) { int num = 10; square(&num); cout << num; return 0; } a) 100
What will be the output of the following C++ code? #include <iostream> using namespace std; int main() { enum channel {star, sony, zee}; enum symbol {hash, star}; int i = 0; for (i = star; i <= zee; i++) { printf("%d ", i); } return 0; }
What will be the output of the following C code? #include <stdio.h> union stu { int ival; float fval; }; void main() { union stu r; r.ival = 5; printf("%d", r.ival); }
Which of the following is usually a special one-time operation that must be completed over a limited time period?
If there are more than 1 topological sorting of a DAG is possible, which of the following is true.