Conversion from uppercase to lower case using c program #include<stdio.h> #include<string.h> int main(){ char str[20]; int i; printf("Enter any string->"); scanf("%s",str); printf("The string is->%s",str);...
Conversion from uppercase to lower case using c program #include<stdio.h> #include<string.h> int main(){ char str[20]; int i; printf("Enter any string->"); scanf("%s",str); printf("The string is->%s",str);...
Example 1: C program to check perfect number What is perfect number? Perfect number is a positive number which sum of all positive divisors excluding that number is equal to that number. For example 6 is perfect number since divisor of 6 are 1, 2 and 3. Sum of its...
Input Output in C In C programming, Input provides a set of built-in functions to read the given input and feed it to the program as per requirement. When we say Output, it means to display some data on screen, printer, or in any file. The getchar() and putchar()...
Union - C A union is a special data type available in C that allows to store different data types in the same memory location. You can define a union with many members, but only one member can contain a value at any given time. Unions provide an efficient way of using...
C- Strings Strings are actually one-dimensional array of characters terminated by a null character '\0'. Thus a null-terminated string contains the characters that comprise the string followed by a null. The following declaration and initialization create a string...
C - Pointer Pointers in C are easy and fun to learn. Some C programming tasks are performed more easily with pointers, and other tasks, such as dynamic memory allocation, cannot be performed without using pointers. So it becomes necessary to learn pointers to become a...
Arrays in C Arrays a kind of data structure that can store a fixed-size sequential collection of elements of the same type. An array is used to store a collection of data, but it is often more useful to think of an array as a collection of variables of the same type....
Function in C A function declaration tells the compiler about a function's name, return type, and parameters. A function definition provides the actual body of the function. Defining a Function The general form of a function definition in C programming language is as...
Loop in C Anyone may encounter situations, when a block of code needs to be executed several number of times. In general, statements are executed sequentially: The first statement in a function is executed first, followed by the second, and so on. Loop available in C...
Decision making in C Decision making structures require that the programmer specifies one or more conditions to be evaluated or tested by the program, along with a statement or statements to be executed if the condition is determined to be true, and optionally, other...
Build-in Function Constants and Literals C programming Build-in Function will focus here with printf and scanf, Such as: C printf and scanf functions: printf() and scanf() functions are inbuilt library functions in C programming language which are available in C...
C Programming C programming language is a MUST for students and working professionals to become a great Software Engineer specially when they are working in Software Development Domain. I will list down some of the key advantages of learning C Programming: Easy to...
Stay ahead of the curve with our comprehensive guide to the latest technology news and innovations shaping our world, from AI to IoT and beyond.
Explore how Laravel excels in large-scale applications, integrates with Domain-Driven Design, and the exciting potential of the new Laravel Cloud API.
Create Laravel Project Through Docker — No Need to Install PHP, MySQL, or Apache on Your Local Machine In this tutorial, I’ll show you how to create and run a full Laravel project using Docker containers. That means you won’t have to install PHP, MySQL, or Apache...
Discover Project Valhalla’s impact on Java performance! Explore JEP 401 (Value Classes & Objects) and learn how to try the new Early Access build for a faster, leaner JVM.