saving . . . saved When you said type( ls -lrt ), but when i type it on window compiler i did't get any result. has been deleted. When you said type( ls -lrt ), but when i type it on window compiler i did't get any result. has been hidden .
When you said type( ls -lrt ), but when i type it on window compiler i did't get any result.
Title
Question
When you said type( ls -lrt ), but when i type it on window compiler i did't get any result.

C-and-Cpp First-C-Program 06-07 min 40-50 sec 10-05-20, 10:58 p.m. nptelcoursesgopal

Answers:

ls (list directory contents) command works only on Linux based systems. You need a Linux environment to use such commands.
13-05-20, 1:55 p.m. nags
#include<stdio.h>
Int main()
{
Printf("Welcome to the");
Printf("World of c");
Return 0;
}

So when we don't use\n then the output will be welcome to the world of c.
10-07-20, 12:47 p.m. 1921271242121

Login to add comment


in windows use dir command to display the list of folders in the particular directory
C:\\senthil\dir
04-12-21, 8:29 p.m. Rsenthil_1976


C:\cygwin64>dir
 
 Directory of C:\cygwin64

11/28/2021  07:47 PM    <DIR>          .
11/28/2021  07:47 PM    <DIR>          ..
12/04/2021  08:27 PM    <DIR>          bin
11/28/2021  07:06 AM            53,342 Cygwin-Terminal.ico
11/28/2021  07:05 AM                88 Cygwin.bat
11/28/2021  07:06 AM           157,097 Cygwin.ico
11/28/2021  07:05 AM    <DIR>          dev
11/28/2021  07:48 PM    <DIR>          etc
11/28/2021  07:06 AM    <DIR>          home
11/28/2021  07:47 PM    <DIR>          lib
11/28/2021  07:47 PM    <DIR>          opt
11/28/2021  07:05 AM    <DIR>          sbin
11/28/2021  08:13 PM    <DIR>          tmp
11/28/2021  07:44 PM    <DIR>          usr
11/28/2021  07:04 AM    <DIR>          var
               3 File(s)        210,527 bytes
              12 Dir(s)  51,822,346,240 bytes free

04-12-21, 8:30 p.m. Rsenthil_1976


Log-in to answer to this question.