Get Instant Access of 100% REAL CLA-11-03 DUMP Pass Your Exam Easily
CLA-11-03 Free Exam Questions with Quality Guaranteed
NO.21 What happens if you try to compile and run this program?#define ALPHA 0#define BETA ALPHA-1#define GAMMA 1#define dELTA ALPHA-BETA-GAMMA#include <stdio.h>int main(int argc, char *argv[]) {printf (“%d”, DELTA);return 0;Choose the right answer:
NO.22 What happens if you try to compile and run this program?#include <stdio.h>fun (void) {static int n = 3;return –n;}int main (int argc, char ** argv) {printf(“%d n”, fun() + fun());return 0;}Select the correct answer:
NO.23 What happens if you try to compile and run this program?#include <stdio.h>int fun(int i) {return i++;}int main (void) {int i = 1;i = fun(i);printf(“%d”,i);return 0;}Choose the correct answer:
NO.24 Assume that ints and floats are 32-bit wide.What happens if you try to compile and run this program?#include <stdio.h>union uni {float f, g;int i, j;};int main (int argc, char *argv[]) {union uni u;printf (“%ld”, sizeof (u) ) ;return 0;}Choose the right answer:
NO.25 What happens if you try to compile and run this program?#include <stdio.h>#include <string.h>int main (int argc, char *argv[]) {int a = 0, b = 1, c;c = a++ && b++;printf(“%d”,b);return 0;}Choose the right answer:
NO.26 What happens if you try to compile and run this program?#include <stdio.h>int main (int argc, char *argv[]) {int i = 2;int d= i << 2;d /= 2;printf (“%d”, d) ;return 0;}Choose the right answer:
NO.27 –What happens if you try to compile and run this program?#include <stdio.h>int *f();int main (int argc, char *argv[]) {int *p;p = f();printf(“%d”,*p);return 0;}int *f() {static v = 1;return &v;}Choose the right answer:
NO.28 Assume that ints are 32-bit wide.What happens if you try to compile and run this program?#include <stdio.h>typedef structint i;int j;int k;} str;int main (int argc, char *argv[]) {str s = { 7, 7, 7 };printf (“%d”, sizeof (s.s));return 0;}Choose the right answer:
NO.29 What happens if you try to compile and run this program?#include <stdio.h>int main (int argc, char *argv[]) {char i = 20 + 020 + 0x20;printf(“%d”,i);return 0;}Choose the right answer:
NO.30 What happens if you try to compile and run this program?#include <stdio.h>int main(int argc, char *argv[]) {int i = 10 – 2 / 5 * 10 / 2 – 1;printf(“%d”,i);return 0;}Choose the right answer:
NO.31 What happens if you try to compile and run this program?#include <stdio.h>int main (int argc, char *argv[]) {char *p = “World”;int i = 2;switch (p[i]) {case ‘W’ :i++; break ;case ‘o’ :i += 2; break ;case ‘r’ :i += 3; break ;case ‘1’ :i += 4; break ;case ‘d’ :i += 5; break ;default :i += 4;}printf(“%d”, i);return 0;}–Choose the right answer:
NO.32 What happens if you try to compile and run this program?#include <stdio.h>struct s {int i;};void fun(struct S st) {st.i –;int main (void) {int k;struct $ str1 = { 2 };fun (str1) ;k =str1.i;printf(“%d”, k);return 0;}–Choose the correct answer:
NO.33 What happens if you try to compile and run this program?#include <stdio.h>int i = 0;int main (int argc, char *argv[]) {for(i; 1; i++);printf(“%d”, i);return 0;}Choose the right answer:
NO.34 What happens if you try to compile and run this program?#include <stdio.h>int main (int argc, char *argv[]) {int i = ‘A’ – ‘B’;int j = ‘b’ – ‘a’;printf(“%d”,i / j);return 0;}Choose the right answer:
NO.35 Assume that ints are 32-bit wide.What happens if you try to compile and run this program?#include <stdio.h>typedef union {int i;int j;int k;} uni;int main (int argc, char *argv[]) {uni s;s.i = 3;s.j = 2;s.k = 1;printf(“%d”,s.k * (s.i – s.j));return 0;}Choose the right answer:
NO.36 What happens if you try to compile and run this program?#include <stdio.h>int f1(int n) {return n = n * n;}int f2(int n) {return n = f1(n) * f1(n);}int main(int argc, char ** argv) {printf (“%d n”, f2(1));return 0;}–Select the correct answer:
CLA-11-03 Free Exam Files Downloaded Instantly: https://www.test4engine.com/CLA-11-03_exam-latest-braindumps.html
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.