Escape sequence \\ inserts a backslash into your text. - C Language Basics

C examples for Language Basics:printf

Introduction

The backslash character (\) is a special character in the printf() function.

To display a backslash, you must use this escape sequence.

Demo Code

#include <stdio.h>

int main()/* w w w .j ava2 s . com*/
{
    printf("c:\\cygwin\\bin must be in your system path"); 

    return 0;
}

Result


Related Tutorials