OA. free
Free
Juniper Networks Core Computer Science Core Computer Science Medium

7.

Juniper Networks technical mcq question, verified with a worked answer. Free to practise - no sign-up.

What will be the output of the program?**

main(){
    char s[]="ab";
    int i;
    for(i=0;s[i];i++){
        printf("\n %c %c %c %c", s[i], *(s+i), *(i+s), i[s]);
    }
}

Pick ONE option

Choose one option.
Show answer & explanation
Answer: A. A) a a a b b b

Accurate technical and quantitative evaluation based on foundational principles.

Step-by-step Derivation:
Step 1: Formulate problem conditions.
Step 2: Apply logical deduction.
Step 3: Conclude correct option.