8051 architecture feature

8051 Architecture,You should know before programming

The 8051 architecture provides many functions like CPU(central processing unit),  RAM(random access memory), ROM (read-only memory), I/O (Input/Output), timer, interrupt logic. etc. Intel introduces 8051 microcontrollers in 1981. It is an 8-bit microcontroller. It is built with 40 pins DIP (dual inline package), 4kb of ROM storage (on-chip memory). We can also interface external memory […]

8051 Architecture,You should know before programming Read More »

how to use fgetc in c

How to use fgetc in C Programming

The fgetc() function read a single character from the stream and return their ASCII value. After reading the character, it advances the associated file position indicator for the stream. It takes only one argument file stream. In this article, I will explain to you, how to read the character from the given file using fgetc

How to use fgetc in C Programming Read More »

How to use fputs in C

How to use fputs in C

The fputs function writes the string pointed to the output stream. The terminating null character is not written to the file. It takes two argument pointer to string and file pointer. Syntax of fputs in C int fputs(const char * restrict s, FILE * restrict stream);   Return value of fputs(): On success, the fputs

How to use fputs in C Read More »