skip to Main Content

WHEN I WANT NEW LINE IN C LANGUAGE:
I CODE AS printf("HELLOW WORLD n");

but terminal gives error which is ->

Program 'numbertriangleINVERTED.exe' failed to run: Unknown error (0xfffffffe)At line:1 char:134
+ ... .c -o numbertriangleINVERTED } ; if ($?) { .numbertriangleINVERTED }
+                                                ~~~~~~~~~~~~~~~~~~~~~~~~.
At line:1 char:134
+ ... .c -o numbertriangleINVERTED } ; if ($?) { .numbertriangleINVERTED }
+                                                ~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (:) [], ApplicationFailedException
    + FullyQualifiedErrorId : NativeCommandFailed

to solve this error i give a space after n i.e == printf("HELLOW WORLD n "); after n i give escape it works perfectly

2

Answers


  1. Chosen as BEST ANSWER

    problem has been solved .. getting error because of McAfee Antivirus real time scanning feature is stopping me c program exe files to run and send me the error .. once Again thanks to all who answered me.. for my problem


  2. Please make sure that you have included proper header file to access ‘printf’ function, i.e. stdio.h.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search