Sharda LMS
Discover → Learn → Practice → Assess → Record
c
C: print a sum
Write a C main that stores 10 and 20 in integers and prints their sum with printf. This is a classroom subset — no files, no compiler on the app server.
Student code never runs against the production database or filesystem. A classroom interpreter grades it.
Public examples
Input: —
Output: 30
Login as a student to save attempts and scores.
Output will appear here.
