Home / MCQ Bank / Computer
Computer Fundamentals

Which of the following cannot be a variable name in C?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option A • volatile

Related Computer Questions

What is the space complexity of the following dynamic programming implementation of the rod cutting problem? #include<stdio.h> #include<limits.h> int rod_cut(int *prices, int len) { int max_val[len + 1]; int i,j,tmp_price,tmp_idx; max_val[0] = 0; for(i = 1; i <= len; i++) { int tmp_max = INT_MIN; // minimum value an integer can hold for(j = 1; j <= i; j++) { tmp_idx = i - j; //subtract 1 because index of prices starts from 0 tmp_price = prices[j-1] + max_val[tmp_idx]; if(tmp_price > tmp_max) tmp_max = tmp_price; } max_val[i] = tmp_max; } return max_val[len]; } int main() { int prices[]={2, 5, 6, 9, 9, 17, 17, 18, 20, 22},len_of_rod = 5; int ans = rod_cut(prices, len_of_rod); printf("%d",ans); return 0; } Number of vertices with odd degrees in a graph having a eulerian walk is ______ A bookmark is an item or location in document that you identify a name for future Reference. Which of the following task is accomplished by using bookmarks? What will be the output of the following C code? #include <stdio.h> struct point { int x; int y; }; void foo(struct point*); int main() { struct point p1 = {1, 2}; foo(&p1); } void foo(struct point *p) { printf("%d\n", *p.x++); } You have the following routing table. Which of the following networks will not be placed in the neighbor routing table? R 192.168.30.0/24 [120/1] via 192.168.40.1, 00:00:12, Serial0 C 192.168.40.0/24 is directly connected, Serial0 172.16.0.0/24 is subnetted, 1 subnets C 172.16.30.0 is directly connected, Loopback0 R 192.168.20.0/24 [120/1] via 192.168.40.1, 00:00:12, Serial0 R 10.0.0.0/8 [120/15] via 192.168.40.1, 00:00:07, Serial0 C 192.168.50.0/24 is directly connected, Ethernet0