FYBBA(CA) Sem I
Subject- C Language
Unit -2 Managing I/O operations
Lecture By – Mr. Salunke Ravindra
Head, Department Computer Application,
Dada Patil Mahavidyalaya, Karjat
Lecture - https://youtu.be/pu9ryMfwUMw
Data Types and Variables In C ProgrammingKamal Acharya
This document discusses data types and variables in C programming. It defines the basic data types like integer, floating point, character and void. It explains the size and range of integer and floating point data types. It also covers user-defined data types using typedef and enumeration. Variables are used to store and manipulate data in a program and the document outlines the rules for declaring variables and assigning values to them.
This document provides an overview of data types in C programming, including:
1) It describes four main types of data types - fundamental, modifiers, derived, and user defined. Fundamental types include integer, character, float, void. Modifiers change properties of other types. Derived types include arrays and pointers.
2) It explains the integer, float, character, and void fundamental data types in more detail. Integer can be short, int, long. Float and double store numbers in mantissa and exponent. Character represents keyboard characters.
3) Common C data type sizes and value ranges are provided for integer, float, and character types along with their modifiers like short, long, signed, unsigned.
C language is a widely used, mid-level programming language that provides features like simplicity, portability, structured programming, rich libraries, memory management, pointers, recursion, and extensibility. It allows breaking programs into parts using functions, supports dynamic memory allocation using free(), and provides built-in data types like integer, floating point, character, arrays, pointers, structures, unions, enums, and void.
Data types in C include primary (fundamental) types like integers and floating-point numbers, as well as derived and user-defined types. Primary types include integers of various sizes (char, short, int, long) that can be signed or unsigned, and floating-point types like float, double, and long double. Integer types have size and value ranges that depend on the machine, such as 8-bit char from -128 to 127. Floating-point types have prescribed sizes and precision levels. User can define their own types using typedef to create new type names, or enum to define enumeration types with named values.
The document discusses the different types of operators in C programming language including arithmetic, assignment, relational, logical, bitwise, conditional (ternary), and increment/decrement operators. It provides examples of how each operator is used in C code and what operation they perform on variables and values.
The document provides an overview of the C programming language. It discusses that C was developed at Bell Labs in the 1970s and is a general purpose language closely associated with UNIX. It then covers C's character set, keywords, basic program structure including header files and library functions, data types, variables, constants, and provides a simple "Hello World" example program.
INTRODUCTION
COMPARISON BETWEEN NORMAL FUNCTION AND INLINE FUNCTION
PROS AND CONS
WHY WHEN AND HOW TO USED?
GENERAL STRUCTURE OF INLINE FUNCTION
EXAMPLE WITH PROGRAM CODE
Operators and expressions in c languagetanmaymodi4
what is operator in c language
uses of operator in c language
syatax of operator in c language
program of operator in c language
what is expressions in c language
use of expressions in c language
syantax of expressions in c language
Data Types and Variables In C ProgrammingKamal Acharya
This document discusses data types and variables in C programming. It defines the basic data types like integer, floating point, character and void. It explains the size and range of integer and floating point data types. It also covers user-defined data types using typedef and enumeration. Variables are used to store and manipulate data in a program and the document outlines the rules for declaring variables and assigning values to them.
This document provides an overview of data types in C programming, including:
1) It describes four main types of data types - fundamental, modifiers, derived, and user defined. Fundamental types include integer, character, float, void. Modifiers change properties of other types. Derived types include arrays and pointers.
2) It explains the integer, float, character, and void fundamental data types in more detail. Integer can be short, int, long. Float and double store numbers in mantissa and exponent. Character represents keyboard characters.
3) Common C data type sizes and value ranges are provided for integer, float, and character types along with their modifiers like short, long, signed, unsigned.
C language is a widely used, mid-level programming language that provides features like simplicity, portability, structured programming, rich libraries, memory management, pointers, recursion, and extensibility. It allows breaking programs into parts using functions, supports dynamic memory allocation using free(), and provides built-in data types like integer, floating point, character, arrays, pointers, structures, unions, enums, and void.
Data types in C include primary (fundamental) types like integers and floating-point numbers, as well as derived and user-defined types. Primary types include integers of various sizes (char, short, int, long) that can be signed or unsigned, and floating-point types like float, double, and long double. Integer types have size and value ranges that depend on the machine, such as 8-bit char from -128 to 127. Floating-point types have prescribed sizes and precision levels. User can define their own types using typedef to create new type names, or enum to define enumeration types with named values.
The document discusses the different types of operators in C programming language including arithmetic, assignment, relational, logical, bitwise, conditional (ternary), and increment/decrement operators. It provides examples of how each operator is used in C code and what operation they perform on variables and values.
The document provides an overview of the C programming language. It discusses that C was developed at Bell Labs in the 1970s and is a general purpose language closely associated with UNIX. It then covers C's character set, keywords, basic program structure including header files and library functions, data types, variables, constants, and provides a simple "Hello World" example program.
INTRODUCTION
COMPARISON BETWEEN NORMAL FUNCTION AND INLINE FUNCTION
PROS AND CONS
WHY WHEN AND HOW TO USED?
GENERAL STRUCTURE OF INLINE FUNCTION
EXAMPLE WITH PROGRAM CODE
Operators and expressions in c languagetanmaymodi4
what is operator in c language
uses of operator in c language
syatax of operator in c language
program of operator in c language
what is expressions in c language
use of expressions in c language
syantax of expressions in c language
C is a general-purpose programming language developed in the early 1970s. It produces very fast executable code and is widely used for operating systems, language compilers, utilities and other system software. The document provides an overview of the history and development of C, why it is still useful today, basic C programming concepts like tokens, constants, variables and data types, and the overall structure and execution of a C program.
Array
Introduction
One-dimensional array
Multidimensional array
Advantage of Array
Write a C program using arrays that produces the multiplication of two matrices.
After the end of lesson you will be able to learn Python basics-What Python is? Its releases. Where we can use Python? Python Features. Tokens, comments variables etc... In out next PPT you will learn how to input and get output in Python
This document discusses different types of sorting algorithms. It describes internal sorting and external sorting, with internal sorting handling all data in memory and external sorting requiring external memory. Bubble sort, selection sort, and insertion sort are briefly explained as examples of sorting methods. Bubble sort works by comparing adjacent elements and swapping if out of order, selection sort finds the minimum element and selection sort inserts elements into the sorted position. Pseudocode and examples are provided for each algorithm.
The document discusses various operators in the C programming language. It begins by defining C operators as symbols that are used to perform logical and mathematical operations. It then describes the different types of operators in C - arithmetic, assignment, relational, logical, bitwise, conditional (ternary), and increment/decrement operators. For each type of operator, it provides examples and an example program to demonstrate their usage.
The document discusses call by value and call by reference in functions. Call by value passes the actual value of an argument to the formal parameter, so any changes made to the formal parameter do not affect the actual argument. Call by reference passes the address of the actual argument, so changes to the formal parameter do directly modify the actual argument. An example program demonstrates call by value, where changing the formal parameter does not change the original variable.
The document discusses the character set, keywords, and identifiers in the C programming language. It provides lists of uppercase and lowercase letters, digits, and special characters that are valid in C. It also lists and describes common keywords for data types, qualifiers, loop controls, user-defined types, jumping controls, and storage classes. Rules for writing identifiers are outlined, noting they must start with a letter, can include letters, digits, and underscores, and the first 31 characters are significant to the compiler.
This document discusses input and output operations in C programming. It explains that input/output functions provide the link between the user and terminal. Standard input functions like scanf() are used to read data from keyboard while standard output functions like printf() display results on screen. Formatted functions like scanf() and printf() allow input/output to be formatted according to requirements. Unformatted functions like getchar() and putchar() deal with single characters. The standard library stdio.h provides predefined functions for input and output in C.
Structures in C allow the user to define a custom data type that combines different data types to represent a record. A structure is similar to an array but can contain heterogeneous data types, while an array only holds the same type. Structures are defined using the struct keyword followed by structure tags and member lists. Structure variables are declared like other variables and members can be accessed using the dot operator. Arrays of structures and nested structures are also supported.
This document provides an overview of constants, variables, and data types in the C programming language. It discusses the different categories of characters used in C, C tokens including keywords, identifiers, constants, strings, special symbols, and operators. It also covers rules for identifiers and variables, integer constants, real constants, single character constants, string constants, and backslash character constants. Finally, it describes the primary data types in C including integer, character, floating point, double, and void, as well as integer, floating point, and character types.
A pointer is a variable whose value is the address of another variable, i.e., direct address of the memory location. Like any variable or constant, you must declare a pointer before you can use it to store any variable address.
There are few important operations, which we will do with the help of pointers very frequently. (a) we define a pointer variable (b) assign the address of a variable to a pointer and (c) finally access the value at the address available in the pointer variable. This is done by using unary operator * that returns the value of the variable located at the address specified by its operand.
Chapter1 c programming data types, variables and constantsvinay arora
The document discusses key concepts in C programming including:
- C is a general-purpose, procedural, portable programming language developed by Dennis Ritchie.
- Data types in C include integer, floating point, character, and string literals. Variables and constants can be declared with different data types.
- Variables store values that can change during program execution while constants store fixed values. Variables have both l-values and r-values but constants only have r-values.
- Comments, preprocessor directives, functions, and standard input/output are basic elements of a C program structure.
Operator & control statements in C are used to perform operations and control program flow. Arithmetic operators (+, -, *, /, %) are used for mathematical calculations on integers and floating-point numbers. Relational operators (<, <=, >, >=, ==, !=) compare two operands. Logical operators (&&, ||, !) combine conditions. Control statements like if-else, switch, while, for, break, continue and goto alter program execution based on conditions.
Here is a C program to produce a spiral array as described in the task:
#include <stdio.h>
int main() {
int n = 5;
int arr[n][n];
int num = 1;
int rowBegin = 0;
int rowEnd = n-1;
int colBegin = 0;
int colEnd = n-1;
while(rowBegin <= rowEnd && colBegin <= colEnd) {
// Top row
for(int i=colBegin; i<=colEnd; i++) {
arr[rowBegin][i] = num++;
}
rowBegin++;
// Right column
for(int i=rowBegin;
Basics of pointer, pointer expressions, pointer to pointer and pointer in fun...Jayanshu Gundaniya
Pointers are a data type in C that contain memory addresses as their values. They allow programs to indirectly access and manipulate the data stored at those addresses. Pointers can be used to pass arguments by reference, return values from functions, access array elements, and link data structures like linked lists. Proper initialization of pointers is important to avoid issues like accessing protected memory or going out of array bounds.
This document provides an overview and guide for Module 2 of a fundamentals of programming course in C language. It discusses the basic structure of C programs, including general program structure, input/output statements, comments, preprocessor directives, and defining the main function. It explains the components of a simple "Hello World" C program in detail. It also covers output statements, function arguments, and control characters like escape sequences that can be used in printf statements. The goal is to explain the basic building blocks of C programs to help students write and understand simple programs.
C is a general-purpose programming language developed in the early 1970s. It produces very fast executable code and is widely used for operating systems, language compilers, utilities and other system software. The document provides an overview of the history and development of C, why it is still useful today, basic C programming concepts like tokens, constants, variables and data types, and the overall structure and execution of a C program.
Array
Introduction
One-dimensional array
Multidimensional array
Advantage of Array
Write a C program using arrays that produces the multiplication of two matrices.
After the end of lesson you will be able to learn Python basics-What Python is? Its releases. Where we can use Python? Python Features. Tokens, comments variables etc... In out next PPT you will learn how to input and get output in Python
This document discusses different types of sorting algorithms. It describes internal sorting and external sorting, with internal sorting handling all data in memory and external sorting requiring external memory. Bubble sort, selection sort, and insertion sort are briefly explained as examples of sorting methods. Bubble sort works by comparing adjacent elements and swapping if out of order, selection sort finds the minimum element and selection sort inserts elements into the sorted position. Pseudocode and examples are provided for each algorithm.
The document discusses various operators in the C programming language. It begins by defining C operators as symbols that are used to perform logical and mathematical operations. It then describes the different types of operators in C - arithmetic, assignment, relational, logical, bitwise, conditional (ternary), and increment/decrement operators. For each type of operator, it provides examples and an example program to demonstrate their usage.
The document discusses call by value and call by reference in functions. Call by value passes the actual value of an argument to the formal parameter, so any changes made to the formal parameter do not affect the actual argument. Call by reference passes the address of the actual argument, so changes to the formal parameter do directly modify the actual argument. An example program demonstrates call by value, where changing the formal parameter does not change the original variable.
The document discusses the character set, keywords, and identifiers in the C programming language. It provides lists of uppercase and lowercase letters, digits, and special characters that are valid in C. It also lists and describes common keywords for data types, qualifiers, loop controls, user-defined types, jumping controls, and storage classes. Rules for writing identifiers are outlined, noting they must start with a letter, can include letters, digits, and underscores, and the first 31 characters are significant to the compiler.
This document discusses input and output operations in C programming. It explains that input/output functions provide the link between the user and terminal. Standard input functions like scanf() are used to read data from keyboard while standard output functions like printf() display results on screen. Formatted functions like scanf() and printf() allow input/output to be formatted according to requirements. Unformatted functions like getchar() and putchar() deal with single characters. The standard library stdio.h provides predefined functions for input and output in C.
Structures in C allow the user to define a custom data type that combines different data types to represent a record. A structure is similar to an array but can contain heterogeneous data types, while an array only holds the same type. Structures are defined using the struct keyword followed by structure tags and member lists. Structure variables are declared like other variables and members can be accessed using the dot operator. Arrays of structures and nested structures are also supported.
This document provides an overview of constants, variables, and data types in the C programming language. It discusses the different categories of characters used in C, C tokens including keywords, identifiers, constants, strings, special symbols, and operators. It also covers rules for identifiers and variables, integer constants, real constants, single character constants, string constants, and backslash character constants. Finally, it describes the primary data types in C including integer, character, floating point, double, and void, as well as integer, floating point, and character types.
A pointer is a variable whose value is the address of another variable, i.e., direct address of the memory location. Like any variable or constant, you must declare a pointer before you can use it to store any variable address.
There are few important operations, which we will do with the help of pointers very frequently. (a) we define a pointer variable (b) assign the address of a variable to a pointer and (c) finally access the value at the address available in the pointer variable. This is done by using unary operator * that returns the value of the variable located at the address specified by its operand.
Chapter1 c programming data types, variables and constantsvinay arora
The document discusses key concepts in C programming including:
- C is a general-purpose, procedural, portable programming language developed by Dennis Ritchie.
- Data types in C include integer, floating point, character, and string literals. Variables and constants can be declared with different data types.
- Variables store values that can change during program execution while constants store fixed values. Variables have both l-values and r-values but constants only have r-values.
- Comments, preprocessor directives, functions, and standard input/output are basic elements of a C program structure.
Operator & control statements in C are used to perform operations and control program flow. Arithmetic operators (+, -, *, /, %) are used for mathematical calculations on integers and floating-point numbers. Relational operators (<, <=, >, >=, ==, !=) compare two operands. Logical operators (&&, ||, !) combine conditions. Control statements like if-else, switch, while, for, break, continue and goto alter program execution based on conditions.
Here is a C program to produce a spiral array as described in the task:
#include <stdio.h>
int main() {
int n = 5;
int arr[n][n];
int num = 1;
int rowBegin = 0;
int rowEnd = n-1;
int colBegin = 0;
int colEnd = n-1;
while(rowBegin <= rowEnd && colBegin <= colEnd) {
// Top row
for(int i=colBegin; i<=colEnd; i++) {
arr[rowBegin][i] = num++;
}
rowBegin++;
// Right column
for(int i=rowBegin;
Basics of pointer, pointer expressions, pointer to pointer and pointer in fun...Jayanshu Gundaniya
Pointers are a data type in C that contain memory addresses as their values. They allow programs to indirectly access and manipulate the data stored at those addresses. Pointers can be used to pass arguments by reference, return values from functions, access array elements, and link data structures like linked lists. Proper initialization of pointers is important to avoid issues like accessing protected memory or going out of array bounds.
This document provides an overview and guide for Module 2 of a fundamentals of programming course in C language. It discusses the basic structure of C programs, including general program structure, input/output statements, comments, preprocessor directives, and defining the main function. It explains the components of a simple "Hello World" C program in detail. It also covers output statements, function arguments, and control characters like escape sequences that can be used in printf statements. The goal is to explain the basic building blocks of C programs to help students write and understand simple programs.
Introduction to C Language - Version 1.0 by Mark John LadoMark John Lado, MIT
The C programming language is a general-purpose, high – level language (generally denoted as structured language). C programming language was at first developed by Dennis M. Ritchie at At&T Bell Labs.
C is one of the most commonly used programming languages. It is simple and efficient therefore it becomes best among all. It is used in all extents of application, mainly in the software development.
Many software's & applications as well as the compilers for the other programming languages are written in C also Operating Systems like Unix, DOS and windows are written in C.
C has many powers, it is simple, stretchy and portable, and it can control system hardware easily. It is also one of the few languages to have an international standard, ANSI C.
The document provides an overview of the C programming language. It discusses the history and development of C, which originated from programming languages like ALGOL and BCPL. C was created by Dennis Ritchie at Bell Labs in 1972 and is strongly associated with UNIX. The document also covers basic C programming concepts like data types, functions, header files, and the structure of a C program. It provides examples of simple C programs and discusses programming style and executing a C program.
C is a procedural programming language developed in the late 1960s and early 1970s. It was designed for system programming tasks like operating system and compiler development. Many later languages took syntax and features from C. The structure of a C program includes header file inclusions, a main function declaration, variable declarations, program logic in the body, and a return statement. A simple "Hello World" program is presented as an example to demonstrate the basic structure of a C program.
This document provides an overview of fundamental computer programming concepts in Chapter 1. It begins with defining what a computer program and programming are, and reasons for studying programming such as career opportunities and developing logical thinking. It then covers the program development life cycle and an overview of programming languages and paradigms. The remainder of the document discusses specific aspects of C++ programs including compilation processes, program structure, input/output streams, library functions, preprocessor directives, variables and data types.
Notes of c programming 1st unit BCA I SEMMansi Tyagi
This document discusses the basics of the C programming language. It covers the structure of a basic C program, which must include a main function with declaration and executable parts. C tokens like keywords, identifiers, constants, operators and strings are also introduced. The document then discusses C program development steps like understanding the problem, planning input/output, designing an algorithm, coding, testing and debugging. It provides a high-level overview of the C language and programming in C.
C is mother language of all programming language.
It is a system programming language. It is a procedure-oriented programming language. It is also called mid-level programming language.
C evolved from a language called B, written by Ken Thompson at Bell Labs in 1970. Ken used B to write one of the first implementations of UNIX. B in turn was a descendant of the language BCPL (developed at Cambridge (UK) in 1967), with most of its instructions removed.
So many instructions were removed in going from BCPL to B, that Dennis Ritchie of Bell Labs put some back in (in 1972), and called the language C.
The famous book The C Programming Language was written by Kernighan and Ritchie in 1978, and was the definitive reference book on C for almost a decade.
The original C was still too limiting, and not standardized, and so in 1983, an ANSI committee was established to formalize the language definition.
It has taken until now (ten years later) for the ANSI ( American National Standard Institute) standard to become well accepted and almost universally supported by compilers.
The document discusses functions in C programming. It defines functions as basic building blocks that contain a set of programming statements enclosed in curly braces. Functions provide reusability and modularity to programs. The key advantages of functions are reusability, which avoids rewriting code, and abstraction, which hides implementation details. There are two types of functions - library functions declared in header files and user-defined functions created by the programmer. Functions can return a value or not, and may or may not accept arguments.
The document discusses the structure of C programs and C tokens. It begins with an introduction to C programming and then describes the typical structure of a C program which includes preprocessor commands, a main() function, and input/output functions. It provides an example C program to demonstrate this structure. The document then explains C tokens, which are the basic building blocks of a C program, and lists the different types of tokens like keywords, identifiers, constants, strings, special symbols, and operators. It concludes by providing a short C program example to demonstrate C tokens.
The C programming language has the feature of scanf () function, which is used to take the input by the user as per the requirement. The coders also use the printf () function in the programs to display the program’s output.
https://www.ducatindia.com/javatraining/
This document provides an introduction to the C programming language. It discusses that C is a general purpose, structured programming language that resembles algebraic expressions and contains keywords like if, else, for, do and while. C can be used for both systems and applications programming due to its flexibility. The document then discusses the structure of a C program, which consists of functions like main that contain statements grouped into blocks. It also covers C language components like data types, constants, variables and keywords. An example program that calculates the area of a circle is provided to demonstrate basic C syntax and components. Finally, conditional statements like if, if else, else if and switch that allow program flow control are introduced.
The document provides an introduction to algorithms and key concepts related to algorithms such as definition, features, examples, flowcharts, pseudocode. It also discusses different types of programming languages from first to fifth generation. Key points of structured programming approach and introduction to C programming language are explained including data types, variables, constants, input/output functions, operators, type conversion etc.
C is a general-purpose programming language developed between 1969 and 1973 by Dennis Ritchie at Bell Labs. It was created to write the UNIX operating system and became widely popular. Key features of C include being a robust language with built-in functions and operators, producing efficient and fast programs, and being highly portable. C laid the foundation for many other languages and important programs like Linux, PHP, and MySQL are written in C. It does not support object-oriented programming concepts but provides low-level access to memory.
The document discusses algorithms and the C programming language. It defines an algorithm as a set of steps to solve a problem, and discusses the program development lifecycle including problem analysis, design, coding, debugging, and testing. It also covers C language basics like data types, variables, operators, and functions. C was created for system development like operating systems. It produces efficient code and is widely used for tasks like compilers, drivers, databases and more.
Functions allow programmers to organize code into reusable blocks. There are two types of functions: library functions defined in header files, and user-defined functions created by the programmer. Functions can take arguments and return values, or not. This allows for abstraction so the user of a function does not need to know its implementation. Functions provide reusability and modularity, making large programs possible to write and maintain.
Programming Fundamentals and basic knowledge imtiazalijoono
Programming Fundamentals
Outline
• Course introduction
• Programming languages concepts
• C Programming Basics
• Machine languages
• Assembly languages
• High-level languages
Basic Structure of C Program
This document describes a module that teaches fundamental programming structures in C. It aims to teach students how to create, compile, and run a simple C program. The module covers C program structure and layout, identifiers and data types, control structures, functions, and other basic concepts. Students are instructed to practice writing many small programs to reinforce their understanding of the new concepts. Example programs are provided and analyzed to demonstrate C syntax.
Similar to Managing I/O operations In C- Language (20)
বাংলাদেশের অর্থনৈতিক সমীক্ষা ২০২৪ [Bangladesh Economic Review 2024 Bangla.pdf] কম্পিউটার , ট্যাব ও স্মার্ট ফোন ভার্সন সহ সম্পূর্ণ বাংলা ই-বুক বা pdf বই " সুচিপত্র ...বুকমার্ক মেনু 🔖 ও হাইপার লিংক মেনু 📝👆 যুক্ত ..
আমাদের সবার জন্য খুব খুব গুরুত্বপূর্ণ একটি বই ..বিসিএস, ব্যাংক, ইউনিভার্সিটি ভর্তি ও যে কোন প্রতিযোগিতা মূলক পরীক্ষার জন্য এর খুব ইম্পরট্যান্ট একটি বিষয় ...তাছাড়া বাংলাদেশের সাম্প্রতিক যে কোন ডাটা বা তথ্য এই বইতে পাবেন ...
তাই একজন নাগরিক হিসাবে এই তথ্য গুলো আপনার জানা প্রয়োজন ...।
বিসিএস ও ব্যাংক এর লিখিত পরীক্ষা ...+এছাড়া মাধ্যমিক ও উচ্চমাধ্যমিকের স্টুডেন্টদের জন্য অনেক কাজে আসবে ...
Main Java[All of the Base Concepts}.docxadhitya5119
This is part 1 of my Java Learning Journey. This Contains Custom methods, classes, constructors, packages, multithreading , try- catch block, finally block and more.
A workshop hosted by the South African Journal of Science aimed at postgraduate students and early career researchers with little or no experience in writing and publishing journal articles.
The simplified electron and muon model, Oscillating Spacetime: The Foundation...RitikBhardwaj56
Discover the Simplified Electron and Muon Model: A New Wave-Based Approach to Understanding Particles delves into a groundbreaking theory that presents electrons and muons as rotating soliton waves within oscillating spacetime. Geared towards students, researchers, and science buffs, this book breaks down complex ideas into simple explanations. It covers topics such as electron waves, temporal dynamics, and the implications of this model on particle physics. With clear illustrations and easy-to-follow explanations, readers will gain a new outlook on the universe's fundamental nature.
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Dr. Vinod Kumar Kanvaria
Exploiting Artificial Intelligence for Empowering Researchers and Faculty,
International FDP on Fundamentals of Research in Social Sciences
at Integral University, Lucknow, 06.06.2024
By Dr. Vinod Kumar Kanvaria
How to Make a Field Mandatory in Odoo 17Celine George
In Odoo, making a field required can be done through both Python code and XML views. When you set the required attribute to True in Python code, it makes the field required across all views where it's used. Conversely, when you set the required attribute in XML views, it makes the field required only in the context of that particular view.
हिंदी वर्णमाला पीपीटी, hindi alphabet PPT presentation, hindi varnamala PPT, Hindi Varnamala pdf, हिंदी स्वर, हिंदी व्यंजन, sikhiye hindi varnmala, dr. mulla adam ali, hindi language and literature, hindi alphabet with drawing, hindi alphabet pdf, hindi varnamala for childrens, hindi language, hindi varnamala practice for kids, https://www.drmullaadamali.com
How to Build a Module in Odoo 17 Using the Scaffold MethodCeline George
Odoo provides an option for creating a module by using a single line command. By using this command the user can make a whole structure of a module. It is very easy for a beginner to make a module. There is no need to make each file manually. This slide will show how to create a module using the scaffold method.
How to Manage Your Lost Opportunities in Odoo 17 CRMCeline George
Odoo 17 CRM allows us to track why we lose sales opportunities with "Lost Reasons." This helps analyze our sales process and identify areas for improvement. Here's how to configure lost reasons in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Managing I/O operations In C- Language
1. FYBBA(CA) Sem I
Subject- C Language
Unit -2 Managing I/O operations
Lecture By – Mr. Salunke Ravindra
Head, Department Computer Application,
Dada Patil Mahavidyalaya, Karjat
2. Managing I/O operations
●
Console based I/O and related built-in I/O functions
– printf(), scanf()
– getch(), getchar()
●
Formatted input and formatted output
3. Console Input/Output Functions in C
●
Console : Keyboard and screen together called console.
●
Console I/O functions further classified into:
– Formatted Input/Output Functions
– Unformatted Input/Output Functions
5. C Program to Calculate Simple Interest
Comments in C
Comments are generally used to
increase the readability of program. At
present we are making very small
programs. But when we develop big
programs then the program has to go
through a long process of testing and
debugging. Comments are not the part of
program code and are not read by
compiler.
It is very important to write
comments in programs. So that other
programmers can also read and
understand your program easily. Writing
comments is also a good programming
practice. Start writing comments in the
programs from the beginning itself.
6. Comments in C
1)Single line comment: // first type of comment
2)Multiline comment: /* second type of comment*/
Single line comment is used to write comments in one line only.
Multiline comment is used to write comments in multiple lines. All things that
comes in between /* and */ is considered as comment. We can use anyone according
to requirement.
7. sprintf() and sscanf() Function
sprintf() function is quite similar to printf() function but instead of printing the output on
screen, it stores it in the character array. Consider below example to understand this.
Explanation
As I said earlier sprintf() doesn’t print the output on
screen. So I have printed the value of str using
printf(). It just stores the data in string. In the above
program, str will store the values of “j”, “cha” and “a”.
8. Unformatted Input/Output Functions in C
●
Functions like getch(), getche() and getchar() comes under this category.
●
These functions store only one character.
●
The header file used for these three functions is conio.h
– getch() function-This function is used to store only one character in memory. It
does not echo or display that character on the screen while program execution.
– getche() function-This function works similar to getch function. However it just
echo or display that character on screen.
– getchar() function-This function works entirely similar to getche function. It
stores one character and display it on the screen. But we have to press the enter
key to store one character while using this function.