Tag Archives: #1st program in c
Errors in “Hello World” program
#include<stdio.h> int main() { printf(“Hello World”); return 0; } /* Errors Line 1 :- *1. If u remove only preprocessor (#)->error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token *2.#nclude<stdio.h> -> error: invalid preprocessing directive #nclude *3. #include … Continue reading
Posted in Data Structures with C
Tagged #1st program in c, #errors, #Hello World, #Warnings, C++, gcc, vim
Leave a comment