Posts

Showing posts from March, 2025

Featured post

-Write C program to find even and odd number using macro

-Write C program to find even and odd number using macro #include<stdio.h> #define number(n)((n%2==0)?1:0) int main() { int num; printf("enter any number"); scanf("%d",&num); if(number(num)) printf("number is even"); else printf("number is odd"); return 0; } ***************************Output*********************** amr@amrj-virtual-machine:~$ gccevenodd.c amr@samr-virtual-machine:~$ ./a.out enter any number 2 number is evensmj@amr-virtual-machine:~$

write a C Program to Check Even or Odd Number

C Program to Check Even or Odd Number πŸ–₯️ C Program to Check Even or Odd Number Below is a simple C program that checks whether a given number is even or odd. πŸ“œ Source Code: #include <stdio.h> void main() { int num; printf("Enter number: "); scanf("%d", &num); if (num % 2 == 0) { printf("Number is even"); } else { printf("Number is odd"); } } πŸ–₯️ Output: amr@amr-virtual-machine:~$ gcc slip6a.c amr@amr-virtual-machine:~$ ./a.out Enter number: 12 Number is even πŸ”Ή Explanation: The program takes an integer input from the user. It checks whether the number is divisible by 2 using the modulus (%) operator. If the remainder is 0, it prints " Number is even ", otherwise, it prints " Number is odd ". πŸ“Œ Steps to Compile and Run: Save the file as slip6a.c . Open a terminal and navigate to the file...

Flutter March 2025 Updates: What’s New in Flutter 4.0?

Image
Flutter March 2025 Updates: What's New in Flutter 4.0? πŸš€ Flutter March 2025 Updates:What's New in Flutter 4.0? Flutter, Google’s open-source UI toolkit, is evolving rapidly, bringing powerful new features and enhancements for developers. Whether you're building for mobile, web, or desktop , Flutter continues to push the boundaries of cross-platform development. Here’s a roundup of the latest updates! πŸš€ Flutter 4.0: A New Era Begins Flutter 4.0 is set to redefine cross-platform development with groundbreaking improvements. This major update brings: ✅ Enhanced Performance – Faster rendering and optimized memory usage for smoother experiences. ✅ Improved Desktop Support – More refined controls and better integration for Windows, macOS, and Linux apps. ✅ AI-Assisted Development – Smarter debugging and AI-powered code suggestions to speed up development. ✅ Revamped UI Components – New Material You elements and advanced...

dart Hello world

void main() { print("Hello, FlutterForge!"); }

Software Engineering

                                   MCQ:   Software Quality Assurance. Que : Multiple Choice Question.  1.The term middleware is sometimes referred to an interface between_____.  a. different kinds of hardware. b .system software & application software  c. hardware and software d. none of above.  2.Calculation errors occur due to______.  a. bad logic. b .coding errors  c. data type mismatch d. all of the above  3.To avoid faulty code ,following techniques is/are used________.  a. code analysis. b .peer review  c. methodologies for software development  d. all of the above  4.An application must score in the following areas___________.  a.Oprational b .Transitional  c. Maintenance d. all of the above   5.The two aspects of software quality are___________.  a. Conformance to specification b .meet u...