Posts

Showing posts from February, 2021

Code with harry

Image
  >> jaise hum koi cheez google p search krte hain and google hume result deta hai to vo high level hota hai and jb hum google p andr dekhenge k vo result de kse rha hai kse kaam krra hai to vo low level khte hain. similarly locgical things that we can do with computer is called high level language and jb programming language see hum hardware and memory ko control kr paae to use lowlevel language khte hain. << this is the insertion operator used in cout. >> this is the extraction operator used in cin. Agr ek c naam ka global variable hai and ek c naam ka local variable hai to agr function k andr print krenge c ko to local print hoga lekin agr hume global c ki value print krni hai to hum scope resolution operator(::) use kr skte hain. Agr hum kisi function mein 34.4 pass krenge to vo use by default double smjhega isliye agr hume float bhjna hai to 34.4f or 34.4F krenge and agr long double bhejna hai to 34.4l or 34.4L. >>Typecasting >>Constants in C++ ...