An anagram is any word which can be used to form another word by rearranging the letters of the original word. Examples:- Tar - Rat Act - Cat Elbow - Below State - Taste Cider - Cried Dusty - Study
we avoid using increment(++) and decrement(--) in python. For example, x++ can be written as x =x+1 and x-- can be written as x=x-1. To print 1 to 10 instead of writing in python for(i=1;i<=10;i++) we write for i in range(1,11): #11 is excluded in range print(i)
Main disadvantage of using inheritance is that the two classes (parent and child class) gets tightly coupled. This means that if we change code of parent class, it will affect to all the child classes which is inheriting/deriving the parent class, and hence, it cannot be independent of each other.
What is an Anagram?
gourav
An anagram is any word which can be used to form another word by rearranging the letters of the original word. Examples:- Tar - Rat Act - Cat Elbow - Below State - Taste Cider - Cried Dusty - Study
Increment and Decrement Operators in Python with Example.
gourav
we avoid using increment(++) and decrement(--) in python. For example, x++ can be written as x =x+1 and x-- can be written as x=x-1. To print 1 to 10 instead of writing in python for(i=1;i<=10;i++) we write for i in range(1,11): #11 is excluded in range print(i)
What is disadvantage of inheritance in Java?
gourav
Main disadvantage of using inheritance is that the two classes (parent and child class) gets tightly coupled. This means that if we change code of parent class, it will affect to all the child classes which is inheriting/deriving the parent class, and hence, it cannot be independent of each other.
What is function overriding in C++
gourav
how to take sentence as input in c?
gourav
#include<stdio.h> #include<string.h> int main() { char s[200]; printf("enter the sentence /n"); scanf("%[^/n]s",s); printf("%s",s); return 0; }