📚 Question Bank Q73 — Programming and Data Structure
Tags
Programming and Data Structure
Q73. Marks: +2.0 UGC NET Paper 2: Computer Science17th June 2023

What is the output of following code?

main ( )

{static float a [ ] = {13.24, 1.5, 4.5, 5.4, 3.5}

float *j, *k;

j = a;

k = a + 4

j = j * 2;

k = k/2;

printf("% f% f', *j, *k):

1.13.25, 4.5  
2.1.5, 3.5
3.13.24, 1.5, 4.5, 5.4, 3.5
4.Illegal use of pointer in main function ✓ Correct
📄 All “Programming and Data Structure” questions across papers
🏷 Change Tag for this Question