Skip to content

Programming and Problem Solving

CSE · Quiz · Spring 26

Paper 3 of 6By Shaker Abdullah (3)Switch

Paper 3 of 6

This browser can’t show the PDF here

Open it, and your phone’s PDF viewer takes it, or download it.

Read the questions as text

Read off the PDF by AI, so it may have mistakes. The PDF is the original.

CSE113: Programming and Problem Solving Spring 2026 Quiz - 2 Duration: 35 Minutes Q1 | Write the output of the following code. | [5] #include <stdio.h> int a = 15; int c = 5; int d; void myFunction(int a, int *b) { a = 25; c = a + *b + c; printf("a = %d\n", a); printf("b = %d\n", *b); printf("c = %d\n", c); } int main () { int a = 10; int b = 30; myFunction(b, &a); } Q2 | Write a C function that takes two strings of same length and determines if the strings are reversely equal. Assume strings are case insensitive. | [10] Sample Input | Sample Output abracadabra arbadacarba | Reversely equal daffodil LIDOFFAD | Reversely equal csc scc | Not reversely equal eEE EeE | Reversely equal