The __LINE__ is an inbuilt Macro in C programming language, it returns current line number of the code.
Example:
#include <stdio.h> int main(){ printf("Hello world\n"); printf("Line: %d\n",__LINE__); printf("How are you?\n"); printf("Line: %d\n",__LINE__); printf("Bye bye!!!\n"); return 0; }
Output
Hello world Line: 6 How are you? Line: 8 Bye bye!!!
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Example:
Output
need an explanation for this answer? contact us directly to get an explanation for this answer