1. Among the following four options, the options that are all invalid user identifiers are 0. (A) A P_0 do (B) b_a flot

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

1. Among the following four options, the options that are all invalid user identifiers are 0. (A) A P_0 do (B) b_a flot

Post by answerhappygod »

1 Among The Following Four Options The Options That Are All Invalid User Identifiers Are 0 A A P 0 Do B B A Flot 1
1 Among The Following Four Options The Options That Are All Invalid User Identifiers Are 0 A A P 0 Do B B A Flot 1 (128.87 KiB) Viewed 70 times
1. Among the following four options, the options that are all invalid user identifiers are 0. (A) A P_0 do (B) b_a flot _123 (C) goto _A while (D) 1a char -a 2. If x, y and z are all int variables, then the value of z after running the following expression is 0. x=2; y=1;z=5;z* = x+y; (A) 10 (B) 11 (C) 15 (D) none of above 3. The following incorrect character constant is (). (A) "a" (B) 'n' (C) 'a' (D) 9 4. It is known that the description of each variable type is as follows, then which option will not conform any cors (both grammar and run time) int a, b; float w=5; double x=3.14159; (A)a= w%3; (B) a = x%3; (C) a = a/b; (D) b=w+x; 5. Which data type has higher precision? 0 (A) char (B) int (C) float (D) double 6. If: char a; int b; double c; Then the data type of the value of the expressi a-b+(a*c)-3.14 is (. (A) float (B) char(C) int (D) double 7. If:char a; int b; float c;double d; Which statement is correct (. (A) printf("%d is a factor of %d.\n", b); (B) printf("%d is a real number. In”, c); (C) printf("%c is a real number. In", c); (D)printf ("%lf is a real number. In", d); Notice: Please write clearly and legibly. In total 06 pages, This is page 教务处试题编号:311- 课程名称: 任课教师: Student ID: Student Name: 8. There is a program segment, and the input expression and output expression corresponding to the input data form and out form should b O, respectively. int maino { int x; float y; printf("Enter x, y:"); Il input expression I/ output expression return 0; } console: enter x,y: 1 3.14 X+y=4.140 Press any key to continue...... ID *** ******* (A) scanf("%d,%f", &x, &y); printf(“nx+y=%.3f”, x+y); (B) scanf("%d, %f",&x, &y); printf("x+y=%.3f", x+y); ALALA
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply