# Lab 1 Exercise

## Lab 1 Exercise : Program wait for your Input

จงเขียนโปรแกรมภาษา C ให้รับค่า ชื่อ นามสกุล และ รหัสนิสิตแล้วแสดงผลออกมาเช่นเดียวกับภาพด้านล่าง

![](/files/-MP2Lgoi3FKn_N4AsqWb)

ทำการบันทึก code ที่ใช้และผลการรันที่ได้มา พร้อมทั้งเก็บรูปภาพผลการรัน

## Lab 2 Exercise : Get argument & Display

จงเขียนโปรแกรมภาษา C ให้แสดงผลตัวเลข Argument 5 ตัวที่ป่อน พร้อมทั้งแสดง address ของ argument ดังภาพ

![ผลลัพธ์ exercise2](/files/-MP3AHiWzTRV56KQrrbI)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.aic-eec.com/c-c++-for-embedded-programming/principle-c-c++-programming/linux-os-lab-1-c-c++-code.-how-to-compile-and-run./how-to-create-a-program-that-you-can-enter-inputs./lab-1-exercise.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
