This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Box, Icon, IconButton } from '@mui/material'; | |
import { useEffect, useRef, useState } from 'react'; | |
const items = [1, 2, 3, 4, 5, 6, 7]; | |
const ResponsiveCarousel = () => { | |
const [visibleItems, setVisibleItems] = useState(4); | |
const [scrollIndex, setScrollIndex] = useState(0); | |
const containerRef = useRef(null); | |
const contentRef = useRef(null); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<conio.h> | |
#define max 5 | |
int stack[max],i,flag; | |
int top=-1; | |
int Peek(); | |
int isEmpty(); | |
int isFull(); |