Consider the following C statements:
- char *str1 = "Hello; /* Statement S1 */
- char *str2 = "Hello;"; /* Statement S2 */
- int *str3 = "Hello"; /* Statement S3 */
Which of the following options is/are correct?
Practise real GATE CSE Compiler Design previous year questions from 1987–2026. Attempt questions, check your answers and learn with the stored explanations.
Answer at least one question to submit.
Sign in to send feedback (it takes under a minute), or create a free account.
Compiler Design has 14 analysed topics in the GateIQ archive. The ones that have appeared most often in GATE CSE are Grammar, LR Parser, Compilation Phases.
11 of them are rated high or very high value by the same transparent frequency, recurrence, recentness and solvability weighting used across the archive.
The practice set draws on 182 GATE CSE questions from 39 papers between 1987–2026. 182 of them carry a verified worked solution, shown after you submit.
Number of GATE CSE Compiler Design questions in each paper.
Create a free account to keep your practice history, see where you are weak and continue where you left off.