• C ftell() function in C Language

    Categories: C language ||

    The ftell() function returns the current file position of the specified stream. We can use ftell() function to get the total size of a file after moving file pointer at the end of file. We can use SEE

  • C rewind() function in Language

    Categories: C language ||

    The rewind() function sets the file pointer at the beginning of the stream. It is useful if you have to use stream many times.Syntax:void rewind(FILE *stream)  Example:File: file.txtthis is

  • C fseek() function in C Language

    Categories: C language ||

    The fseek() function is used to set the file pointer to the specified offset. It is used to write data into file at desired location.Syntax:int fseek(FILE *stream, long int offset, int whence) &n

  • C fputs() and fgets() in C Language

    Categories: C language ||

    The fputs() and fgets() in C programming are used to write and read string from stream. Let's see examples of writing and reading file using fgets() and fgets() functions.Writing File : fputs() functi

  • C fputc() and fgetc() in C Language

    Categories: C language ||

    Writing File : fputc() functionThe fputc() function is used to write a single character into file. It outputs a character to a stream.Syntax:int fputc(int c, FILE *stream)  Example:#include

  • C fprintf() and fscanf() in C Language

    Categories: C language ||

    Writing File : fprintf() functionThe fprintf() function is used to write set of characters into file. It sends formatted output to a stream.Syntax:int fprintf(FILE *stream, const char *format [, argum

  • File Handling in C Language

    Categories: C language ||

    In programming, we may require some specific input data to be generated several numbers of times. Sometimes, it is not enough to only display the data on the console. The data to be displayed may be v

  • Deciding the size of the union in C Language

    Categories: C language ||

    The size of the union is based on the size of the largest member of the union.union abc{  int a;  char b;  float c;  double d;  };  int main

  • Union in C Language

    Categories: C language ||

    Union can be defined as a user-defined data type which is a collection of different variables of different data types in the same memory location. The union can also be defined as many members, but on

  • Why structure padding in C Language

    Categories: C language ||

    struct student  {    char a; // 1 byte    char b; // 1 byte    int c; // 4 bytes   }  If we have a 32-bit processor (4 bytes

  • Structure Padding in C Language

    Categories: C language ||

    Structure padding is a concept in C that adds the one or more empty bytes between the memory addresses to align the data in memory. Let's first understand the structure padding in C through a simple s

  • AngularJS MCQ Quiz Questions with Answer

    Categories: Angular || Angular JS || MCQ ||

    AngularJS MCQ Quiz Questions with Answer   1) Which of the following is true about the currency filter? A currency filter is used to format the text in a currency format. A currency

  • AngularJS MCQ Quiz Questions with Answer

    Categories: Angular || Angular JS || MCQ ||

    AngularJS MCQ Quiz Questions with Answer   1) Which of the following statement is correct for AngularJS? AngularJS is an HTML framework AngularJS is a Java framework AngularJS

  • AngularJS MCQ Quiz Questions with Answer Part 2

    Categories: Angular || Angular JS || MCQ ||

    AngularJS MCQ Quiz Questions with Answer Part 2 1) Which of the following syntax is used to create a module in AngularJS? var myModule= angular.module(); var myModule= new Module();

  • Types of Nested Structure in C Language

    Categories: C language ||

    1) Separate structureHere, we create two structures, but the dependent structure should be used inside the main structure as a member. Consider the following example.struct Date  { &nbs

  • Nested Structure in C Language

    Categories: C language ||

    C provides us the feature of nesting one structure within another structure by using which, complex data types are created. For example, we may need to store the address of an entity employee in a str

  • C Array of Structures

    Categories: C language ||

    Why use an array of structures?Consider a case, where we need to store the data of 5 students. We can store it by using the structure as given below.#include<stdio.h>  struct student&n

  • typedef in C Language

    Categories: C language ||

    The typedef is a keyword used in C programming to provide some meaningful names to the already existing variable in the C program. It behaves similarly as we define the alias for the commands. In shor

  • What is Structure in C Language

    Categories: C language ||

    Structure in c is a user-defined data type that enables us to store the collection of different data types. Each element of a structure is called a member. Structures ca; simulate the use of classes a

  • NCERT Solutions for Class 12 English Third level

    Categories: NCERT Solutions || Intermediate class ||

    NCERT Solutions for Class 12 English Third level   Q1. What does the third level refer to?  Answer: The third level refers to the subway of the Grand Central Station that takes pass

  • C Structure in C Language

    Categories: C language ||

    Why use structure?In C, there are cases where we need to store multiple attributes of an entity. It is not necessary that an entity has all the information of one type only. It can have different attr

  • C Math in C Language

    Categories: C language ||

    C Programming allows us to perform mathematical operations through the functions defined in <math.h> header file. The <math.h> header file contains various methods for performing mathemati

  • C String Functions in C Language

    Categories: C language ||

    There are many important string functions defined in "string.h" library.No.FunctionDescription1)strlen(string_name)returns the length of string name.2)strcpy(destination, source)copies the contents of

  • C gets() and puts() functions in C Language

    Categories: C language ||

    The gets() and puts() are declared in the header file stdio.h. Both the functions are involved in the input/output operations of the strings.C gets() functionThe gets() function enables the user to en

  • NCERT Solutions for Class 12 English Indigo (set 2)

    Categories: NCERT Solutions || Intermediate class ||

    NCERT Solutions for Class 12 English Indigo (set 2)    Q1: How was Gandhi able to influence lawyers? Give instances.  Answer: Gandhi was able to influence the lawyers through h

  • Pointers with strings in C Language

    Categories: C language ||

    We have used pointers with the array, functions, and primitive data types so far. However, pointers can be used to point to the strings. There are various advantages of using pointers to point strings

  • Accepting string as the input in C Language

    Categories: C language ||

    Till now, we have used scanf to accept the input from the user. However, it can also be used in the case of strings but with a different scenario. Consider the below code which stores the string while

  • Traversing String in C Language

    Categories: C language ||

    Traversing the string is one of the most important aspects in any of the programming languages. We may need to manipulate a very large text which can be done by traversing the text. Traversing string

  • C Strings In C Language

    Categories: C language ||

    The string can be defined as the one-dimensional array of characters terminated by a null ('\0'). The character array or the string is used to manipulate text such as word or sentences. Each character

  • NCERT Solutions for Class 12 English Indigo

    Categories: NCERT Solutions || Intermediate class ||

    NCERT Solutions for Class 12 English Indigo   Q1: Why is Rajkumar Shukla described as being 'resolute'?  Answer: Rajkumar Shukla is described as being 'resolute'

  • Dynamic memory allocation in C Language

    Categories: C language ||

    The concept of dynamic memory allocation in c language enables the C programmer to allocate memory at runtime. Dynamic memory allocation in c language is possible by 4 functions of stdlib.h header fil

  • Function pointer as argument in C Language

    Categories: C language ||

    Till now, we have seen that in C programming, we can pass the variables as an argument to a function. We cannot pass the function as an argument to another function. But we can pass the reference of a

  • C Function Pointer in C Language

    Categories: C language ||

    As we know that we can create a pointer of any data type such as int, char, float, we can also create a pointer pointing to a function. The code of a function always resides in memory, which means tha

  • What is a Null Pointer in C Language

    Categories: C language ||

    A Null Pointer is a pointer that does not point to any memory location. It stores the base address of the segment. The null pointer basically stores the Null value while void is the type of the pointe

  • C dereference pointer in C Language

    Categories: C language ||

    As we already know that "what is a pointer", a pointer is a variable that stores the address of another variable. The dereference operator is also known as an indirection operator, which is represente

  • NCERT Solutions for Class 12 English The Rattrap (Set 2)

    Categories: NCERT Solutions || Intermediate class ||

    NCERT Solutions for Class 12 EnglishThe Rattrap  Q1: What made the peddler accept Edla Willmansson's invitation? Answer: By his frightened look, Edla guessed that the peddler had e

  • Advantages of void pointer in C Language

    Categories: C language ||

    1. The malloc() and calloc() function return the void pointer, so these functions can be used to allocate the memory of any data type.2. The void pointer in C can also be used to implement the generic

  • void pointer in C Language

    Categories: C language ||

    Till now, we have studied that the address assigned to a pointer should be of the same type as specified in the pointer declaration. For example, if we declare the int pointer, then this int pointer c

  • NCERT Solutions for Class 12 English The Rattrap

    Categories: NCERT Solutions || Intermediate class ||

    NCERT Solutions for Class 12 English The Rattrap   Q1: From where did the peddler get the idea of the world being a rattrap?  Answer: During one of his usual plodding, the peddler t

  • NCERT Solutions for Class 12 English Lost Spring (Part 2)

    Categories: NCERT Solutions || Intermediate class ||

    NCERT Solutions for Class 12 English (Part - 2) Lost Spring Q1: Mention the hazards of working in the glass bangles industry.  Answer: The impoverished workers in the glass bangles indust

  • NCERT Solutions for Class 12 English Lost Spring

    Categories: NCERT Solutions || Intermediate class ||

    NCERT Solutions for Class 12 English Lost Spring   Q1: What is Saheb looking for in the garbage dumps? Where is he and where has he come from?  Answer: Saheb is looking for coins, r

  • NCERT Solutions for Class 12 Biology Ecosystem

    Categories: NCERT Solutions || Science || Intermediate class ||

    NCERT Solutions for Class 12 Biology Ecosystem Q1: Which one of the following has the largest population in a food chain?(a) Producers(b) Primary consumers(c) Secondary consumers(d) Decompos

  • NCERT Solutions for Class 12 English Flamingo

    Categories: Freshers || NCERT Solutions ||

    NCERT Solutions for Class 12 English Flamingo Aunt Jennifer's Tigers   Q1: What does the title of the poem suggest to you? Are you reminded of other poems on tigers? Answer: The tit

  • NCERT Solutions for Class 12 Biology Environmental Issues

    Categories: NCERT Solutions || Science || Intermediate class ||

    NCERT Solutions for Class 12 Biology Environmental Issues   Q1: What are the various constituents of domestic sewage? Discuss the effects of sewage discharge on a river. Answer: Domestic

  • NCERT Solutions for Class 12 Biology

    Categories: NCERT Solutions || Science || Intermediate class ||

    NCERT Solutions for Class 12 Biology  Biotechnology and its Applications Class   Q1 : Crystals of Bt toxin produced by some bacteria do not kill the bacteria themselves because - (a) bac

  • NCERT Solutions for Class 12 Biology Part 2

    Categories: NCERT Solutions || Science || Intermediate class ||

    NCERT Solutions for Class 12 Biology Part 2 Molecular Basis of Inheritance   Q1: What are the various public health measures, which you would suggest as a safeguard against infectious diseases

Top Blogs
C ftell() function in C Language Published at:- C rewind() function in Language Published at:- C fseek() function in C Language Published at:- C fputs() and fgets() in C Language Published at:- C fputc() and fgetc() in C Language Published at:- C fprintf() and fscanf() in C Language Published at:- File Handling in C Language Published at:- Deciding the size of the union in C Language Published at:- Union in C Language Published at:- Changing order of the variables In C Language Published at:- Why structure padding in C Language Published at:- Structure Padding in C Language Published at:- AngularJS MCQ Quiz Questions with Answer Published at:- AngularJS MCQ Quiz Questions with Answer Published at:- AngularJS MCQ Quiz Questions with Answer Part 2 Published at:- NCERT Solutions for Class 12 Business Studies Business Finance and Marketing Published at:- NCERT Solutions for Class 12 Business Studies Business Finance and Marketing Published at:- Types of Nested Structure in C Language Published at:- Nested Structure in C Language Published at:- C Array of Structures Published at:- typedef in C Language Published at:- What is Structure in C Language Published at:- NCERT Solutions for Class 12 English Third level Published at:- C Structure in C Language Published at:- C Math in C Language Published at:- C String Functions in C Language Published at:- C gets() and puts() functions in C Language Published at:- NCERT Solutions for Class 12 English Indigo (set 2) Published at:- Pointers with strings in C Language Published at:- Accepting string as the input in C Language Published at:- Traversing String in C Language Published at:- C Strings In C Language Published at:- NCERT Solutions for Class 12 English Indigo Published at:- Dynamic memory allocation in C Language Published at:- Function pointer as argument in C Language Published at:- C Function Pointer in C Language Published at:- What is a Null Pointer in C Language Published at:- C dereference pointer in C Language Published at:- NCERT Solutions for Class 12 English The Rattrap (Set 2) Published at:- Advantages of void pointer in C Language Published at:- void pointer in C Language Published at:- NCERT Solutions for Class 12 English The Rattrap Published at:- NCERT Solutions for Class 12 English Lost Spring (Part 2) Published at:- NCERT Solutions for Class 12 English Lost Spring Published at:- NCERT Solutions for Class 12 English Flamingo The Last Lesson Class Published at:- NCERT Solutions for Class 12 Biology Ecosystem Published at:- NCERT Solutions for Class 12 English Flamingo Published at:- NCERT Solutions for Class 12 Biology Environmental Issues Published at:- NCERT Solutions for Class 12 Biology Published at:- NCERT Solutions for Class 12 Biology Part 2 Published at:- NCERT Solutions for Class 12 Biology Part 2 Published at:- NCERT Solutions for Class 12 Biology Chapter 1 Published at:- NCERT Solutions for Class 12 Chemistry Part 1 Electrochemistry Published at:- NCERT Solutions for Class 12 Chemistry Part 3 Published at:- Pointer to Constant In C Language Published at:- NCERT Solutions for Class 12 Chemistry Part 2 Published at:- const Pointer in C Language Published at:- sizeof() operator in C Language Published at:- Dangling Pointers in C Language Published at:- Pointer to function in C Language Published at:- Pointer Arithmetic in C Language Published at:- NCERT Solutions for Class 12 English Deep Water Published at:- C Double Pointer (Pointer to Pointer) in C Language Published at:- NCERT Solutions for Class 12 Chemistry Part 1 Published at:- Pointer Arithmetic in C Language Published at:- C Double Pointer (Pointer to Pointer) Published at:- C Pointers in C Language Published at:- Passing Array to Function in C Published at:- What is an Array in C Language Published at:- Two Dimensional Array in C Language Published at:- C Array in C Language Published at:- Storage Classes in C Published at:- Recursive Function In C Language Published at:- Recursion in C Language Published at:- Call by value and Call by reference in C Language Published at:- Types of Functions in C Language Published at:- C Functions Published at:- C goto statement in C Language Published at:- C continue statement in C Language Published at:- C break statement in C Language Published at:- Nested Loops in C Language Published at:- Nested Loops in C Language Published at:- for loop in C Language Published at:- Properties of while loop in C Language Published at:- while loop in C Language Published at:- do while loop in C Published at:- C Loops of C Language Published at:- Difference Between if-else and switch Published at:- C Switch Statement In C Language Published at:- The C Language in the C Control Statement Published at:- What is the 2s complement in C Published at:- Meaning of Bitwise Operator in C Language Published at:- Conditional Operator in C Language Published at:- Differences Between Compile-Time and Runtime In C Language Published at:- Compile time vs Runtime In C language Published at:- Programming Errors in C Language Published at:- Difference in C language Term Published at:- Static in C Language Published at:- Boolean with Logical Operators in C language Published at:- C Boolean in C language Published at:-
R4R Team
The content on R4R.co.in website is created by expert teams.We have vistots from India, Afghanistan, Bahrain, Bhutan, Canada, France, Germany, Iraq, Japan, Kenya, Kuwait, Maldives, Nepal, Netherlands, Nigeria, Oman, Qatar, Russia, Rwanda, Seychelles, Tanzania, Ukraine, UAE, UK, USA etc