Awadhesh Prajapati - Study24x7
Social learning Network
study24x7

Default error msg

Login

New to Study24x7 ? Join Now
Already have an account? Login
Awadhesh Prajapati Cover image
Awadhesh Prajapati
Awadhesh Prajapati
Connections 0
Followers 2
Following 0
study24x7Awadhesh Prajapati

Awadhesh Prajapati

Studied Bachelor of Technology at Galgotias University
Live in Noida,India, Uttar Pradesh
  • Profile
  • About
  • Connections
About

My name is Awadhesh Kumar Prajapati. I am pursuing B.Tech in Galgotias Universi...
See More

04 Dec 2020 06:47 PM study24x7 study24x7

 What will be the output of the following C code? #include <stdio.h> void main() { int k = 5; int *p = &k; int **m = &p; printf("%d%d%d\n", k, *p, **m); }

A

5 5 5

B

5 5 junk value

C

5 junk junk

D

Run time error

study24x7
Write a comment
04 Dec 2020 06:37 PM study24x7 study24x7

what will be the output of the following statement? int a=5,b=6,c=9,d; d=((ac?1:2):(c>b?6:8)); printf("%d",d);

A

1

B

2

C

6

D

Error

study24x7
Write a comment
  • Ankit Rathi

  • 6 will be output.
    04 Dec 2020 06:32 PM study24x7 study24x7

    what is the work of break keyword?

    A

    Half exacution of program

    B

    Restart exacution of program

    C

    Exit loop or switch statement

    D

    None of the above

    study24x7
    Write a comment
    04 Dec 2020 06:06 PM study24x7 study24x7

    What will be the output of the following statements? int a=1,b; b=a--- -2; printf("%d",b);

    A

    Error

    B

    2

    C

    3

    D

    -3

    study24x7
    Write a comment
    Connections

    No connection