Posts

Showing posts from June, 2023

2.2 OPERATORS :( C PROGRAMMING )

Image
Operators : • Operator Precedence : b. Relational operators eg. C : Logical Operators D : Assignment Operators   check notes too...  

2.1 Instructions ( C PROGRAMMING )

Image
Instructions : 1.  Types Declaration Instructions :      Invalid :        Valid : 2 : Arithmetic Instruction : e.g agar power use karna hai toh : practical : #include <stdio.h > #include <math.h> int main () { int b, c ; b = c = 1 ; int a = b + c  ; int power = pow (b,c); printf ( "%d , " , power) ; return 0 ; } Modular operator : eg   type convertor   Operator Precedence    nicchey wale example ke case ke liye : 3. Control Instructions

'Import-Module PSReadLine'. (setting)

'Import-Module PSReadLine' How to fix this issue in vs code ?? -- Mohit.  'Import-Module PSReadLine'. Add-Type -TypeDefinition ' using System; using System.ComponentModel; using System.Runtime.InteropServices; public static class ScreenReaderFixUtil { public static bool IsScreenReaderActive() { var ptr = IntPtr.Zero; try { ptr = Marshal.AllocHGlobal(sizeof(int)); int hr = Interop.SystemParametersInfo( Interop.SPI_GETSCREENREADER, sizeof(int), ptr, 0); if (hr == 0) { throw new Win32Exception(Marshal.GetLastWin32Error()); } return Marshal.ReadInt32(ptr) != 0; } finally { if (ptr != IntPtr.Zero) { Marshal.FreeHGlobal(ptr); } } } public static void SetScreenReaderActiveStatus(bool isActive) ...

Value Of Radius ( C PROGRAMMING )

  #include <stdio.h> // value of radius int main () { float radius ; printf ( "enter radius " ); scanf ( "%f" , & radius); printf ( " area is  : %f " , 3.14 * radius * radius ) ; return 0 ; }

Value of square ( C PROGRAMMING )

  #include <stdio.h> //value of square int main () {     int side ;   printf ( " enter side " );   scanf ( " %d" , & side );   printf ( " sqaure is : %d " , side * side) ;   return 0 ;   }

1 : INPUT & Final C. ( C PROGRAMMING )

Image
  #include <stdio.h> int main () { int age ; printf ( "enter age" ); scanf ( "age %d" , & age); printf ( "age is %d" , age); return 0 ; }

day 2 ( C PROGRAMMING )

Output #include <stdio.h> int main () { int age = 22 ;   printf ( " age is %d \n " ,age);     char star = '*' ;   printf ( "star look like this %c \n " ,star); float pi = 3.14 ; printf ( "value of pi %f \n " ,pi); return 0 ; }

Hello World Day 1 ( C PROGRAMMING )

  #include <stdio.h> int main () {     printf ( "Hello World" );     0 ; }