Linux important commands illustrations examples
Advertisements
Prev Page
Article contents
File System Commands
- ls, ls -al, ls -lt
- cd, cd dir, pwd, mkdir dir
- cat, tail, more, head, touch
- rm, rmdir, cp, mv
Process Management Commands
File Permission Commands
Searching commands
System Info Commands
File Compression Commands
Networking Commands
Process Management
Program having error at line: 4 => expected ‘;’ before ‘}’ token
C:\MinGW\bin>gcc C:\programs\Listing1.c
C:\MinGW\bin>a.exe
Enter your name:ram
Your name:ram
C:\MinGW\bin>a.exe
Enter your name:ramkumar
Your name:ramku
C:\MinGW\bin>
C:\MinGW\bin>a.exe
Enter your name:
Your name:
C:\MinGW\bin>
This is a c programming syntax error that occurs when you missed a semi column at the end of a line.
Put a semi column at the end of line 3 and recompile the program. Program will compile without this error.
Want to contribute or ask a new article? Write and upload your article information
here.
Prev Page