Question 1
Explain different type of operators used in c language with their precedence and associativity.
Explain different type of operators used in c language with their precedence and associativity.
Write a C program to check whether the entered character is alphabet, digit, space or any special character.
Input : 4 Output: 1 2 2 3 3 3 4 4 4
int main() { if(25%2==0) { break; } }
Write a C program to make sum of digits of a given number. (if input is 145, output should be 10)
Demonstrate declaration and initialization of two dimensional array with suitable example.
Write a program in c for multiply two matrices A and B of dimensions M x N and N x O respectively and store the result in third matrix C.
Define dynamic memory allocation. Explain malloc() and calloc() with example.
What is pointer? Explain how pointers are declared and initialized. .
Write a c program to read a file and count total no of lines, total no. of words and total number of characters.
Circulate this solved paper with KaTeX formulas and 1-click AI step solvers to your batchmates on WhatsApp or Telegram.
Official Gujarat Technological University (GTU) examination paper and step-by-step solutions for Programming for Problem Solving (PPS) (Winter 2025, B.E. · Common Engineering, Sem 1). Features complete 70-mark regular & remedial examination pattern, official marking distribution across all 5 questions, and direct 1-click official PDF download.
Transcribed for student exam preparation from Gujarat Technological University official examination archives. Questions, syllabus guidelines, and curriculum marking schemes remain the intellectual property of Gujarat Technological University.