Skip to main content

Posts

Showing posts with the label strings in c

WHAT IS CSS?ADVANTAGES, SYNTAX.

 CSS PROGRAMMING LANGAUGE                                                                     disadvantages CSS full form is cascade style sheets , which we call it says about how you should display the HTML elements on the screen. CSS tells us the style of the webpage let us take a simple example, if we build a home first we lay out the design that is known as the HTML language. Where the CSS means layout which means giving instructions on how the furniture should be nothing but the CSS. For example if we take PayPal we can see that the background color blue says the CSS background-color property. Netflix is also the best way of saying  CSS property, but if we remove it will be a normal webpage but with the red color and the black plus symbols it looks like the best webpage. Versions of CSS There are differen...

STRINGS IN C?MANIPULATION FUNCTIONS

 WHAT IS STRING:                                                                 FUNCTIONS Sequence of characters represented as a single entity is nothing but a string, A character array terminated by a null character(\0) is known as a string. For eg:- char name[5]="good"; we can write a string first define the data type that is char, and declare the variable that names, with size 5 equal to double codes good. There many ways to create a string, the first one is to define the size [5], the second method is without size, third is to give with predefined size.  C PROGRAM CREATE STRING, DISPLAY IT.   #include<stdio.h>  main() {  char name[]={"p", "o", "s", "i", "t", "i", "v", "e"};  int i=0;   while (name[i]='\0')  {   printf("%c",name[i]);   i++;  } } Firstly declare t...